These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Disable default site shown via IP or hostname access on the new forum.
I installed a first site on my server, but it turns out it's not only accessible via it's own domain name, but also via the domain name and ip address of the server.. How can I disable this behavior?
thanks
Howdy,
Any IP address or domain name that isn't configured in Apache, will be given the default website if someone accesses it in a browser.
The first site on your server is likely currently set as the default.
My suggestion would be to setup another site as the default.
To do that, you can go into Server Configuration -> Website Options, and set "Default website for IP address" to "Yes".
-Eric
Server Configuration -> Website Options, and set "Default website for IP address" to "Yes".
Yes, working as expected.