Hello guys, first time on the forum and hopefully you can help me.
I have a VPS running Ubuntu 11.
On it I have two websites: one is pure HTML and the other is a WordPress site. As far as I was aware, everything was setup correctly but some people are reporting strange results.
MyWebsite1 - Pure Html
YourWebsite2 - WordPress
Some people are reporting that when they access "YourWebsite2" they are getting the "MyWebsite1" being returned. I am not getting this result on any pc that I try. Is there something in my settings that is prioritising the site they are seeing or is this down to ISPs? "YourWebsite2" only went Live on Saturday and is reached via a DNS Host at 123-reg.co.uk. It used to point to a SiteFusion site, but now it points to my Wordpress site instead. It did take close to 40 hours for people to see the new site and I thought all was well.
My question is why is "MyWebsite1" being returned to users, when it is not being called?
Here are some of my files:
/etc/apache2/conf.d/virtual.conf
NameVirtualHost *.80
/etc/apache2/sites-enabled/MyWebsite1
<VirtualHost *.80>
ServerName www.MyWebsite1.com
ServerAlias MyWebsite1.com
DocumentRoot /var/www/MyWebsite1
Options -Indexes
</VirtualHost>
/etc/apache2/sites-enabled/YourWebsite2
<VirtualHost *.80>
ServerName www.YourWebsite2.com
ServerAlias YourWebsite2.com
DocumentRoot /var/www/YourWebsite2
Options -Indexes
</VirtualHost>
----
There is no correlation between the two sites other than being stored on the same VPS server and therefore having the same IP address: for example, they don't call each other.
Is there something wrong with my setup or does everything appear fine?
Thank you,
A.