Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-16-2005, 02:35 PM   #1
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
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
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:36 PM   #2
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
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
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:37 PM   #3
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
'www' is just a subdomain (generally the only and default subdomain used)
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:40 PM   #4
KrisW
For cybersex, do I need a hole in my monitor?
 
Join Date: Dec 2005
Posts: 201
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
KrisW is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:40 PM   #5
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by who
'www' is just a subdomain (generally the only and default subdomain used)
ok, but that still doesn't explain anything

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???
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:45 PM   #6
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Quote:
Originally Posted by KrisW
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
Aye, that's it.. I have had this happen to me on a few domains before.
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:49 PM   #7
datatank
Confirmed User
 
datatank's Avatar
 
Join Date: Aug 2004
Location: My dog is blacker than Tupac
Posts: 5,471
Quote:
Originally Posted by KrisW
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

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 ;-)
datatank is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:49 PM   #8
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by KrisW
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
just pinged the two urls (with and without www)
it resolves to the same ip address

arggggggggggg
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:51 PM   #9
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Quote:
Originally Posted by Antonio
just pinged the two urls (with and without www)
it resolves to the same ip address

arggggggggggg
check the folders your web files are located in. You may have a 'www' folder and a 'public_html' forlder (for example) which are not actually the same thing, although in most cases a www folder is not allowed.
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:54 PM   #10
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
apache setup issue. have your host fix.
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 02:56 PM   #11
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
Quote:
Originally Posted by who
check the folders your web files are located in. You may have a 'www' folder and a 'public_html' forlder (for example) which are not actually the same thing, although in most cases a www folder is not allowed.
that's not the case either:




(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)
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 03:16 PM   #12
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,677
httpd.config

the virtual host is not setup properly, so one goes to the default, the other to the good page.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 03:17 PM   #13
KrisW
For cybersex, do I need a hole in my monitor?
 
Join Date: Dec 2005
Posts: 201
then its your host
KrisW is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 03:24 PM   #14
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,677
example:

Quote:
<VirtualHost 65.98.84.xxx>
ServerAlias www.griffincater.com griffincater.com
ServerAdmin [email protected]
DocumentRoot /home/griffin/public_html
BytesLog domlogs/griffincater.com-bytes_log
ServerName www.griffincater.com
ScriptAlias /cgi-bin/ /home/griffin/public_html/cgi-bin/
User griffin
Group griffin
CustomLog domlogs/griffincater.com combined
</VirtualHost>
Note the second line:

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.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 03:28 PM   #15
3M TA3
Confirmed User
 
Join Date: Aug 2005
Location: So Cal
Posts: 2,972
Quote:
Originally Posted by directfiesta
httpd.config

the virtual host is not setup properly, so one goes to the default, the other to the good page.





restart apache and try again
__________________

Dedicated and colo hosting: ICQ 291313057

"A problem cannot be solved from the same consciousness that created it. We must learn to see the world anew." - Albert Einstein
3M TA3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 03:53 PM   #16
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
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.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 04:01 PM   #17
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
admin error ;)
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 04:17 PM   #18
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
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
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 05:01 PM   #19
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
what's a domain?
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-16-2005, 05:08 PM   #20
Manowar
jellyfish  
 
Join Date: Dec 2003
Posts: 71,528
Quote:
Originally Posted by teksonline
what's a domain?
what is the interweb?
Manowar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.