If I go to the server Ip in a broswer, it is displaying the website for the first domain alphabetically on the server.
Any idea what would cause that ?
If I go to the server Ip in a broswer, it is displaying the website for the first domain alphabetically on the server.
Any idea what would cause that ?
I tried to run easyapache from whm to recompile and I got a popup saying
Internet explorer cannot open the internet site (URL) opertion aborted.
Then I get this page about a segmentation fault..
http://www.cpanel.net/support/docs/e...n_ssl_bug.html
But all I want to do is use the apache updater. I'm not having any problems with apache 2 seg faulting at startup. Very confusing!
What version of Apache are you running?
Have you recompiled Apache with EasyApache3?
To my knowledge (and this only extends to Apache 1.3) Apache will show the website that is listed as the first VirtualHost in the Apache configuration file.
Generally, the first VirtualHost for that particular IP would be something like:
NameVirtualHost aa.bb.cc.dd:80
<VirtualHost aa.bb.cc.dd>
BytesLog domlogs/host.hostname.com-bytes_log
ServerName host.hostname.com
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>
This means whenever someone goes to the IP address aa.bb.cc.dd in a web browser they will get the the directory structure that is in /usr/local/apache/htdocs
This is assuming that aa.bb.cc.dd is the main server IP.
With EasyApache3 you're not really suppose to edit the main Apache configuration file. In the one server that I have set up since using EasyApache3 (again Apache 1.3) I just added this content into the file:
/usr/local/apache/conf/includes/pre_virtualhost_global.conf
Now, whether or not this is a good solution, I don't know.
But to answer your question, the reason your client's website is coming up via IP is because it is likely the first VirtualHost listed for that IP address.
Apologies, I've had the same problem before and I just couldnt remember what the cause was. Thanks for reminding me.
In this case, the first entry with the server info just said <VirtualHost *> instead of containing the servers IP - so it defaulted to the next one.
The other problem with easyapache is something to do with this openssl bug when used with apache2 - the notification pops up when you try and use easyapache from WHM and it prevents you from going any further. Another thread suggests to install the latest version of openssl in /opt/openssl then rebuild apache - but of course that doesnt work if WHM prevents you from using it. I've not tried the command line version yet though.
Just to note: that doesnt work in IE - theres some kind of problem. Switching to firefox has done the trick for me.