Viewing mobile sub-domain not working
mobile sub-domain not working
|
User: Paul G. 12 years ago
|
|
|
Hi I've created my site using Everweb, and a mobile version. I have employed the redirect code as suggested on the excellent http://everwebcodebox.com/mobile/design.html. <script type="text/javascript"> <!-- if (screen.width <= 600) { window.location = "http://mobile.paulgilbertfilm.co.uk"; } //--> </script> I have created a sub domain where my site is hosted thus: Main site: paulgilbertfilm.co.uk sub domain: mobile.paulgilbertfilm.co.uk However the mobile site doesn't load! I have attached screenshots of the files and directory structures as seen in Cyberduck (see attachment). Can somebody tell me what I'm doing wrong?! Any advice gratefully appreciated. Paul |
|
website directory structure.jpg website directory structure |
|
|
User: Jumbo T. 12 years ago
|
|
|
Did you do this : http://www.lcn.com/support/articles/how-to-create-a-subdomain If not, then do so. Then verify : http://mobile.paulgilbertfilm.co.uk/ |
|
|
User: Paul G. 12 years ago
|
|
|
Thanks for your quick reply. Yes, I did that. It occurs to me that maybe where I went wrong was to set up the mobile version (in Everweb) in the same site as the main version. Should I have set up a new site in Everweb? |
|
|
User: Jumbo T. 12 years ago
|
|
|
Upon closer look, the index.html file in the mobile>web folder is missing : http://mobile.paulgilbertfilm.co.uk/mhome.html http://mobile.paulgilbertfilm.co.uk/mtestimonials.html Comparing the sites, mhome.html should be index.html Last edit 12 years ago |
|
|
User: Paul G. 12 years ago
|
|
| Thanks Jumbo T. The issue was that I needed to create a separate website in Everweb and upload that to the mobile sub domain. All working now. | |
| Post Reply |
| You must login or signup to post. |
