PDA

View Full Version : Sub domain & domain


hkgray
10-15-2002, 08:23 PM
Dear Expert,

I have added a sub-domain to my domain. But there is a different results when I add www to the URL. For example, when I type http://XXX.yyyyy.com and http://www.XXX.yyyy.com the results is different. xxx is the sub-domain and yyyy is the domain. http://www.xxx.yyyy.com will show the page of www.yyyy.com.

Moreover, many times, the web sites stored in the server of hosting company will changed. They said that there is a proxy server of my server provider of internet but not the fault of hosting company. Is it right?

Thanks

Raymond Chan

Nightfire
10-15-2002, 08:36 PM
Both ways are working ok, apart from one is showing an older version? Am I right? Coz I'm not really sure what you're asking. If that's what you mean, it's either your ISP cache or your browser cache storing the older version. Try refreshing the page with ctrl+f5, this should clear the cache of your browser, if it doesn't work, close the browser, delete temp files and then try again.

hkgray
10-15-2002, 08:40 PM
Dear Mr. Nightfire,

You are right. I tried your method and it returned to the correct verison. But if the site is not browser by me, will other person who browse my web also suffer from it?

Thanks
Raymond

Nightfire
10-15-2002, 08:45 PM
To help people see the new version, you could put this into your <head></head> area

(Finding link, be a minnie)

Here you go

http://www.codingforums.com/showthread.php?s=&threadid=8034

hkgray
10-15-2002, 08:47 PM
Dear all,

If I input http://abc.xyz.com and http://www.abc.xyz.com, the web pages different. For http://www.abc.xyz.com is the same as http://www.xyz.com. But for http://abc.xyz.com, this really take the file in the sub-domain path in the server.

Can we change it to whether with or without www, the address with sub-domain will open the file in the sub-domain path?

Thanks
Raymond