capabilities.work

Set the server's primary virtual host

One step with cPanel. We can help you get access.

Get something done

Set the server's primary virtual host

Use cPanel: its WHM Server Administration API lets you set the server's primary virtual host in a single step (GET /set_primary_servername). capabilities.work can help you get signed up and connected.

  • How do I make one domain the default when someone visits the server's IP address?
  • Can I set the primary virtual host for HTTPS as well as HTTP?
Say it to your AI assistant
  • Set {servername} as the primary virtual host on the server.
  • Make {servername} the default host for {type} virtual hosts.
For your developer

GET /set_primary_servername in WHM Server Administration API. Full spec on APIs.io.