Jump to content

Subdomain Problem


Recommended Posts

Hello,

 

I was trying to setup a subdomain to point to certain directory to get directly to an e-mail client and after I did that every URL I request redirects me to the e-mail client and my site is completely unavailable since it always asks for a password and you can not view any portion of the site.

 

What can I do? I removed the redirection and it is still the same. Even if I type http://www.pocketpcstuff.com it redirects me to the e-mail client.

 

Does anyone know what's worng? Is this some kind of bug in control panel? I've never had such problems before.

 

 

Thank you for your help.

 

Best regards,

Peter

Link to comment
Share on other sites

Hi Peter,

 

Not sure I can help a lot, I've not come across this problem. I've tried to access your site, and I can see yout problem!!!!

 

A few questions to help me understand a little.

 

1. What did you call the subsomain?

 

2. Did you make any other changes?

 

3. You have removed the re-direct, have you removed the subdirectory?

 

Andy

Link to comment
Share on other sites

Hello,

 

thanks for your reply.

 

 

I called the subdomain mail.pocketpcstuff.com and I redirected it to the e-mail client

 

After this I removed this redirect as well as the directory - first I did not see the directory but then I saw that something was created and I deleted it. But it is still the same.

 

I did not make any other changes.

 

Any idea?

Link to comment
Share on other sites

I got it working!

 

I started deleting everything that was not created by me and I came to the file .htaccess which when I opened it contained some redirect info. I deleted that file and Voila! it's working! But this must be a bug in CP since this should not happen.

 

Regards,

Peter

Link to comment
Share on other sites

Did you empty the trash yet? Unless you've created another one I would put the .htaccess file back if you can and just edit the file of the redirect line you don't want.

 

I'm not sure it will auto-generate a new htaccess file for you.

Link to comment
Share on other sites

I was in a hurry on Friday and I wanted to get the site working so I simply deleted the file - I will check it out and see what needs to be removed. And I also got contacted by administrator so we will work it out and see what's wrong. I am away for this weekend and will report on what went wrong so in case anyone else has this problem in the future he/she will know what happened.

 

Best regards,

Peter

Link to comment
Share on other sites

I think I found out where the problem was. As I see it now - what happened to me can only happen when you are creating subdomains for the first time. As soon as you create the first subdomain you can no longer make what I did.

 

Since I was already on my way out when I was trying this I was not careful and I must have first created redirection without actually defining the subdomain. And when nothing happened I notice that there was no redirection created and then I saw I need to create subdomain first. I did that and after that created the redirect again. But only this second one showed up, the first one though must have been written into the .htaccess file but it did not show up in CP. After you create one subdomian you have no option to choose no prefix.

 

So I guess this was my problem - so my advice for myself is: take the time :) and if something like this happened to you just correct the .htaccess file and first create the subdomain.

 

 

Best regards,

Peter

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...