The default Apache page seems to be the first domain in the alphabetically list of created virtual sites??

4 posts / 0 new
Last post
#1 Tue, 06/07/2011 - 05:41
-eclipse-

The default Apache page seems to be the first domain in the alphabetically list of created virtual sites??

Hi All

How do I force the default page to be the specific "servername.domain.tld" instead of the first domain alphabetically on the lists of available sites created on the server??

If I visit the http://serverip I get showed the first domain on the list? I would like to change that to the virtual site I have named "servername.domain.tld" which I have created on the server.

Looking forward to hear from you :)

Best Regards Tim Nielsen

Tue, 06/07/2011 - 06:59
Locutus

You can do that with the command

Server Configuration -> Website Options -> Default website for IP address?: Yes

Technically this will rename the virtual host config file in Apache for the selected server so that it is the alphabetically first, which Apache uses when an unknown domain name is requested.

Tue, 06/07/2011 - 08:04
-eclipse-

Hi Locutus

Thanks a lot for your quick answer / solution :) Just what I needed to do.

Best Regards Tim Nielsen

Tue, 06/07/2011 - 09:13
Locutus

You're welcome! :) Happy hosting!

Topic locked