PDA

View Full Version : sub domain on/off


Pig
6-16-04, 10:38 AM
I set up a subdomain last night, and it was working great. Now I get to work this morning, and nothing. All the files are there, and the structure is fine.

I created a new one http://test.webhead.cc and it is not working either. A few weeks ago I created one and didn't work for 30 minutes, then suddenly started.

Can anyone explain what is going on? Any thing I can do to fix it?

tbonekkt
6-16-04, 10:40 AM
Are you doing this the 'auto-magic' way or the .htaccess method?

Pig
6-16-04, 12:32 PM
auto-magic

B&T
6-16-04, 01:48 PM
use .htaccess

tbonekkt
6-16-04, 01:55 PM
I think the problem is that you have two 'test' directories:

http://test.webhead.cc and http://www.webhead.cc/test/

They point to different directories in your webspace, and it's my understanding that the names have to be unique or the auto-magic way won't work.

So you should either rename the /u/username/test/htdocs test directory to something else or rename the /u/username/htdocs/test/ to something else.

Pig
6-16-04, 03:19 PM
That isn't it. I changed it to http://bobs_your_uncle.webhead.cc and it is still the same story. I will use .htaccess if I have to, but if powweb can't support subdomains with the 'auto-magic', then they need to scrap that method altogether.

Any other thoughts?

tbonekkt
6-16-04, 03:24 PM
Interesting. I thought for sure I was in the right direction. Anyone else have ideas?

snowmaker
6-16-04, 03:29 PM
I had a similar problem last week for some hours, my 'automagic' sub-domains just weren't accessible; yet thru FTP, CGI-Telnet, and Squirrelmail File Manager plugin, the dirs were there and properly permissioned. The next morning they were all working properly and since I wasn't particulary concerned about it in the first place, closed the case in my head.

James
6-16-04, 04:36 PM
the server uses the same method to find subdomains as it does to find your actual site... even if the permissions are wrong on a directory it would still try to use it, you would just get an error like "403 Forbidden" or something... and it would use that directory even if you had a directory by the same name in your main htdocs directory.

As far as I know there isn't a problem with the sub domain feature. You can not use _'s in subdomains (or in a domain for that matter) so thats probably why your bobs_your_uncle directory won't work.

James
6-16-04, 04:38 PM
I had a similar problem last week for some hours, my 'automagic' sub-domains just weren't accessible; yet thru FTP, CGI-Telnet, and Squirrelmail File Manager plugin, the dirs were there and properly permissioned. The next morning they were all working properly and since I wasn't particulary concerned about it in the first place, closed the case in my head.

These almost sound like caching issues to me... either by browser or a proxy of some kind...

IanS
6-16-04, 04:46 PM
These almost sound like caching issues to me... either by browser or a proxy of some kind...Auto-magic worked for me just fine a few secs ago. I created a sub-domain and immediately it was available.

Pig
6-16-04, 05:30 PM
Still not working for me.
http://bob.webhead.cc

tbonekkt
6-16-04, 05:31 PM
Still not working for me.
http://bob.webhead.cc
I get a directory listing with one file - 1.gif

Is that not what it's supposed to be?

James
6-16-04, 05:33 PM
yeah same here...

Pig
6-16-04, 05:41 PM
Dammit, that's what it's supposed to be...
I'm getting an unresolved host error. I've refreshed. What's the deal? I took my medication this morning...

B&T
6-16-04, 05:42 PM
me three :D

but I still use htaccess. I like to have all my pointed domains and subdomains all there at one level in htdocs. I have even pointed my main domain, so there is nothing in my htdocs but subdirectories of domains and subdomains. All very organized. :)

tbonekkt
6-16-04, 05:42 PM
Asking the obvious questions - did you clear temp files/cache, history, etc.?

snowmaker
6-16-04, 06:05 PM
These almost sound like caching issues to me... either by browser or a proxy of some kind...
I was getting the same error as Pig is getting now, unresolved host, I tried IE and Firefox on three different computers, with reboots and cache clears, etc.. . It just didn't seem like a Powweb error or problem, and it wasn't really a big deal for me, it did resolve itself. I chalked it up to a 'nature of the internet' problem.

Pig
6-16-04, 06:06 PM
Yes I did. :( Booger.

tbonekkt
6-16-04, 06:09 PM
DNS cache maybe? Although I don't see why that would cause this...but at this point...worth a shot.

James
6-16-04, 06:30 PM
what ISPs are you all using??? there seems to be a number of people with DNS issues today... I use verizon and just got a letter they were doing an upgrade and my static IP is going to be changing... they are restructuring something. I don't use their DNS servers however, I use our own... so I probably wouldn't notice a DNS issue at my ISP.

snowmaker
6-16-04, 07:07 PM
Comcast is my ISP. I have a broadband cable connection. I just created an 'automagic' subdoamin andit is working correctly. Like I said earlier, this was a problem I was having for a few hours last week. I'm thinking about getting one of those freebie dial-up accounts, like with NetZero or something, just to have when I experience connectivity issues so I can isolate or narrow down any future problems.

Pig
6-16-04, 07:51 PM
Now that I'm at home, it's working great. Bugger. Not sure what they are running at work. Thanks for the help.

B&T
6-16-04, 08:28 PM
I continue to get 404s for items on a default home page that i removed many months ago. from the same ISPs - netzero is the worst. it is amazing to me how long some of the ISPs will hold on to old cached pages. you are surfing a web that is months old with some of those ISPs.