i recently bought a new domain and pointed it to another host. i decided to move to more powerful server so then the following day, I added an A record for my dedicated server 23.23.23.23 on my registrar. I have anotherdomain.com already running on this server.
A mysite.com 23.23.23.23
A www.mysite.com 23.23.23.23
A *.mysite.com 23.23.23.23
heres my apache2 conf inside sites-available
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
ServerName www.mysite.com
ServerAlias mysite.com *.mysite.com
DocumentRoot /var/www/mysite
<Directory />
AllowOverride None
Options FollowSymLinks
</Directory>
<Directory /var/www/mysite>
AllowOverride All
Options FollowSymLinks MultiViews
Order allow,deny
allow from all
</Directory>
</Virtualhost>
The problem is that when i navigate to mysite.com it takes me to the old host's page i was using yesterday and doesn't display the page on my dedicated server! It works on and off for past 24 hours.
When I wget mysite.com from other servers, it works fine. I ran checkdns.net and everything is fine!
whats going on ? how can i fix this ???