View Full Version : Main Subdomain
Hamma
02-02-2003, 04:32 PM
I am curious, I have my main domain all setup and working great. The issue becomes as I navigate around the site it drops the www. off my main domain, so I end up browsing http://domain.com rather than http://www.domain.com
This is causing some issues with cookies among other things, any ideas?
You may want to take a look at your code(html,php,etc).
Mouse over the links and check the bottom left corner of your browser window. This should tell you where the problem is.
parawing742
02-04-2003, 01:12 AM
I've noticed the same thing on some of my website on the DSM server. It hasn't caused any noticable problem, but it's related somehow to the server because these very same website were running with the www. on the old server.
I'll see if I can pinpoint where it makes the switch...
Send a support ticket in with the domain that is having the problem. Also send in your server pass so that we can look around.
jburke11
02-04-2003, 08:15 PM
I researched this problem with my ISP. I am running DSM on my server and had this behavior. What happens is if you have a URL that is http://www.mydomain.com/ (note the end slash), it will go to the page that is default in the directory (index.php, index.html, etc), but will drop the www. However, if you leave this trailing slash off, you get the same page (the index.php, index.html), but it will maintain the www.
Example:
http://www.mydomain.com/myappdir becomes http://mydomain.com/myappdir, but http://www.mydomain.com/myappdir/ will retain the the www.
NOTE: THIS IS NOT A FIX, JUST MORE INFO
I ran this past a Linux "guru" friend of mine. He says it is due to the virtual host file. He suggested adding the www to the entry to the virtual host entry. However, this prevented Frontpage extensions from being installed, as well as many other problems, so it was not a solution.
Anyway, I am still having the problem. My ISP says they cannot help, so I am sitting tight for now.
John
jburke11
02-04-2003, 08:20 PM
I was unable to edit my post, as I got it wrong. If you add the trailing slash, you retain the www. If you leave the slash *off*, you lose the www. Again, this usually only happens to me when I leave off the trailing slash of a directory under my domain (as in www.mydomain.com/testdir).
parawing742
02-07-2003, 12:04 PM
This may be a server configuation issue and not DSM because I noticed another site today that did the very same thing. (I woun't post the URL here because they are a competor to Zervex)
vBulletin v3.5.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.