Jump to content

<Solved>Subdomain does not work without the WWW prefix.


Recommended Posts

Hello there guys.

I have placed my store in a subdomain of my site. store.mydomain.com

when I try o access it through http://store.mydomain.com it works
but when I try http://www.store.mydomain.com it does not work for me a returned an error

I called godaddy and they told me to add a cname 'www.store' that points to the subdomain folder. I did so - but what happened next is that I see the default message that godaddy gives when the domain is setup but there is no unique index file. (Sorry! this site is not currently available)

I have removed the cname - but it still shows the same message - not error like before (error as in not found)

When I called godaddy again they said that their server does not support the creation of a subdomain for a sundomain. Therefore, I can not create 'www' as a subdomain of 'store' and redirect it to 'store'. :-(
Overall, they did not find a solution for this problem.

I know it is possible because if you look into Apple store you will see it in action http://www.store.apple.com redirects to http://store.apple.com.

Please help.

Also, I was not sure what forum exactly to post it in - but please help if you can.

Link to comment
Share on other sites

The cname soloution should work, you have to be a bit carefull of the setup and having to many full stops will cause problems

On a lot of hosting packages you can only set up cnames via whm not cpanel


but rockys solution is probably far easier

Link to comment
Share on other sites

Rocky, I tried the code you offered me in .htaccess - it did not work. It should work immediately, right?

Bartman, in godaddy hosting I just had to go to 'total DNS' link and change it there. Is that what you mean?

Any other ideas? I spent the whole day yesterday trying to solve it. Will do it today too. Please do not give up on me... :-)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...