|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Join Date: Apr 2003
Location: Rockport, TX, & Cedar Rapids, IA USA
Posts: 30
Reputation: 7
|
Creating (and understanding!) subdomains which work
I've been migrated and everything seems to work. However, I can't seem to create subdomains which work. I've searched the forums and read up on them, but no answer to my issues. I'm using the Subdomain mapping tool.
It appears there are two types of subdomains: Type 1: sub1.domain.com points to /htdocs/sub1/index.html, and Type 2: sub2.domain.com points to sub2/htdocs/index.html (where sub2 is in the root) To me, these are two different animals, but both are called subdomains. Is this correct? If I create Type 1 subdomains pointing to long-time-existing directories, everything works as expected. However, if I create directory sub1 and within it index.html (and they do get created, as they show up when looking at them via FTP), then create sub1.domain.com, it does not create the subdomain. More precisely, it creates it but says, "has no index file" and does not work as intended. I can not creat Type 2 subdomains. If I create sub2 directory in the root , then within sub2 create htdocs and within that index.html, it fails to create the subdirectory and says sub2/htdocs/index.html does not exist. Needless to say, I'm puzzled/confused by all this. I'd really appreciate enlightenment on the two types, and whether or not the mapping program does or does not work. Especially confusing is the fact that I can create a Type 1 subdomain which points to old files but not to new ones. Thanks for any help you can provide! Cheers, Keith Last edited by synsav : 8-14-06 at 11:09 PM. |
|
|
|
|
#2 |
|
Registered
Join Date: Sep 2005
Location: usa
Posts: 11
Reputation: 0
|
Same here.
So I created a folder: htdocs/jcharlescheek/htdocs and upload all files to there
EDIT: I RE-UPLOADED MY FILES TO THE SUBDIRECTORY AND IT IS WORKING Last edited by crcheek : 8-15-06 at 12:32 AM. |
|
|
|
|
#3 |
|
Join Date: Apr 2003
Location: Rockport, TX, & Cedar Rapids, IA USA
Posts: 30
Reputation: 7
|
That's two of us with exactly the same problem. Here's another one, posted in the DNS section: http://forum.powweb.com/showthread.php?t=68840
Surely someone can enlighten us! Keith |
|
|
|
|
#4 |
|
Join Date: Mar 2003
Location: Agawam, MA
Posts: 915
Reputation: 130
|
I just tried it on my site, and the subdomain mapping tool is not working. If you point the subdomain to "/htdocs/sub1", then it should read the files from that directory. If you want to place the files outside of your /htdocs directory, then you need to do something like "/sub2/htdocs" (because for some reason it needs to see "htdocs" somewhere in the path).
At any rate, it's not working, so you'll have to contact support. |
|
|
|
|
#5 |
|
Join Date: Mar 2003
Posts: 57
Reputation: 5
|
type 2 seems to work fine for me.
I have "/sub/htdocs/index.htm" and then under the Subdomain Mapping I have the "Points To Subdirectory" set to "/sub/htdocs". The ones created pre-migration should be already set to "/sub" and those dont need the htdocs included into the path for some reason. |
|
|
|
|
#6 |
|
Badger...Badger...Badger
Join Date: Nov 2003
Location: UK
Posts: 945
Reputation: 74
|
Can I point out I successfully got a subdomain working last night with "forum.mydomain.com", pointing to "htdocs/vbb/" (your type 1 exampe).
Works a treat! Very happy with how easy it was! |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|