Page 1 of 1

How to Change the Default Domain

Posted: Tue Oct 08, 2013 1:53 pm
by pensivedog
When I visit my server IP address, it shows the default domain web root. How to I make it show another domain root?

Re: How to Change the Default Domain

Posted: Tue Oct 08, 2013 2:18 pm
by skid
Remove the default domain. This domain was added as an example of what you can do with domains.

Re: How to Change the Default Domain

Posted: Mon Dec 08, 2014 6:47 am
by emardotcom
When you make a domain on VestaCP and your ip is shared vesta seams to keep changing the default domain how do we set a permanent domain, or do we need to set a dedicated ip for main domain?

Skid answered that here: viewtopic.php?f=11&t=4032#p7400

Re: How to Change the Default Domain

Posted: Tue Aug 22, 2017 3:12 am
by attackwap
edit /home/admin/conf/web/httpd.conf
change location of <virtualhost until </virtualhost to top domain you want to be hosted at your shared ip
work 100% for me