kingsinnersoul Posted June 16, 2010 Share Posted June 16, 2010 Hello there guys. I have placed my store in a subdomain of my site. store.mydomain.comwhen I try o access it through http://store.mydomain.com it worksbut when I try http://www.store.mydomain.com it does not work for me a returned an errorI 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 More sharing options...
rocky Posted June 17, 2010 Share Posted June 17, 2010 Have you tried adding a redirect to your .htaccess file like this? RewriteCond %{HTTP_HOST} ^www.store.yourdomain.com RewriteRule ^(.*)$ http://store.yourdomain.com/$1 [R=301,L] Link to comment Share on other sites More sharing options...
bartman Posted June 17, 2010 Share Posted June 17, 2010 The cname soloution should work, you have to be a bit carefull of the setup and having to many full stops will cause problemsOn a lot of hosting packages you can only set up cnames via whm not cpanelbut rockys solution is probably far easier Link to comment Share on other sites More sharing options...
kingsinnersoul Posted June 17, 2010 Author Share Posted June 17, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now