![]() |
how is this possible? website with www loads a different page
than the same site (url) wihtout the www part:
(example) http://www.mysite.com loads one page but http://mysite.com loads a different one wtf? I contacted my host but this is something I have never seen before, there's no htaccess there, there's only ONE html file and that's index.html and no other files whatsoever I got the site couple of days ago and pointed the DNS to my host, now when I type: http://www.mysite.com it loads the page that was there before I purchased the site and when I type: http://mysite.com it loads the right page (the one and only index file that I uploaded) ??? p.s. this is not a browser cahce, I cleared the cache and even tried from one of my other PCs just to make sure |
don't click the links - I have no idea what's there (in case there are some nasty popups or shit) - they are just an example
|
'www' is just a subdomain (generally the only and default subdomain used)
|
because the host configured the dns wrong
if you try and ping it, I bet it resolves it to different IP's - if it does, then I'm right |
Quote:
I own thedomain, the DNS servers are my host servers, there's no htacces there so http://www.mysite.com and http://mysite.com should load the same page, and how come http://www.mysite.com loads the page that used to be there 3 or 4 days ago??? |
Quote:
|
Quote:
They could both be on the same ip just different folders on the server. I would suggest having your host fix it. Its most likely in your named file or your apache. Sorry I do not remember the exact file names I am not a tech ;-) |
Quote:
it resolves to the same ip address arggggggggggg |
Quote:
|
apache setup issue. have your host fix.
|
Quote:
http://www.tgpwiz.com/hh/folders.jpg (the test file got created couple of minutes ago by my host - just to test something I guess, I'm still waiting for them to fix it though) |
httpd.config
the virtual host is not setup properly, so one goes to the default, the other to the good page. |
then its your host
|
example:
Quote:
you have " www.griffincater.com " as well as " griffincater.com " In SSH, this file can be adjusted. This happens once in a while with a WHM/Cpanel account creation. |
Quote:
:thumbsup :thumbsup :thumbsup restart apache and try again |
could be easily done with php. Grab whatever text is in the url, make redirects based on the string. HTML files can be parced by the php processor by the way. :)
|
admin error ;)
|
ok, now it's getting weird, the guy from my host tells me that both urls load the same page, he tried in Firefiox and IE
I tried in Opera, K-Meleon, and IE and both urls load two different pages I tried on two other PCs and get the same shit (although all my PCs share the same connection) anyone willing to test the two urls for me, please post your ICQ ONLY IF YOU HAVE ANTIVIRUS etc, the one that I get (which is not mine) has 3 or more pop-ups chained and could have some other shit |
what's a domain?
|
Quote:
|
All times are GMT -7. The time now is 07:55 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123