Support Home » VirtualHostX » How To's
By default, VirtualHostX 8.0 requires the URL of the websites you create to end in .vhx.cloud
. This restriction is in place so we no longer have to prompt for your Administrator password every time you save your changes.
But some users may want to use a custom domain name for testing purposes or for serving production traffic. Fortunately, that's easy!
ServerAlias your-domain-name.com
for each additional domain name you want your web server to recognize. (Of course, replace "your-domain-name.com" with the actual domain name you want to use.)That's it!
Additional Notes:
ServerAlias example.com
to your website will only make example.com
work - it will NOT make www.example.com
work. If you also want to use a www
prefix with your domain name, you need to add SeverAlias www.example.com
on another line in your website's custom directives box as well.