dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by Colm Brazel 3 years 22 weeks ago

pic
 Colm Brazel
mobiForge Newbie
Posts: 6
Joined: 4 years ago
[offline]

Hi,

Just set up a new .mobi virtual site on linux. When you set up a site on Linux server an index.html is autogenerated for the site. I cant ftp over the .mobi pages. I'm wondering if apache index.conf file requires configuring in any way to support the .mobi site. For some reason the site seems to be blocking connections to it.

thanks

Colm

Posted by ruadhan 3 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 710
Joined: 5 years ago
[offline]

Are you able to get an FTP connection to your server at all?

Ruadhan O'Donoghue
dotMobi

Posted by Colm Brazel 3 years ago

pic
 Colm Brazel
mobiForge Newbie
Posts: 6
Joined: 4 years ago
[offline]

I managed to ssh to admin section of the server and from there to move a mobile compliant index.html file to the correct mobile folder in question, so index.html is correct and compliant, also site resolves to mysite.mobi as well as www.mysite.mobi but error message is still thrown(maybe it doesn't see below!). I'm wondering if problem is with godaddy registrar, i registered this with them yesterday and set up forwarding to my own server, my own server I set up mysite.mobi and have on godaddy forwarding set up pointing to my server, but maybe goDaddy is instead redirecting my forward back to itself. I wonder what way do I handle this situation, should I rename my site to something different on my own server?
The simplest way of putting this is, how do I set up my own site so that forwarding feature of goDaddy works?

otisme

otisme

Posted by Colm Brazel 3 years ago

pic
 Colm Brazel
mobiForge Newbie
Posts: 6
Joined: 4 years ago
[offline]

ok, I got the forwarding feature on goDaddy pointing to a subFolder on my non mobile website. The subfolder has my mobile files and they are resolving fine.

I could stay with this setup and set up a redirect for mobile requests on my website to point to either mysite.mobi or to the relative folder with the mobilefiles.

But I'd prefer to have a separate web site for mobile and have the redirect from my main website pointing to mysite.mobi which in turn points to a separate site on my server. I've let goDaddy know the problem I'm having with this aspect, if you have any suggestions let me know, hopefully I'll resolve this tomorrow.

cheers

Colm

Next up is to get
a website on my server working.

otisme

otisme

Posted by Colm Brazel 3 years ago

pic
 Colm Brazel
mobiForge Newbie
Posts: 6
Joined: 4 years ago
[offline]

OK solved, goDaddy support were very helpful.

If I want to have a separate site set up on my server for mysite.mobi and not have the site as a subfolder on my main site with goDaddy forwarding option pointing to it, I need to set up new nameservers supporting the new mysite.mobi on the dns of the server I use to host the site.

Following that I need go to goDaddy support gui panel for nameservers and switch out the nameservers they have to the new ones above.

otisme

otisme

Posted by Colm Brazel 3 years ago

pic
 Colm Brazel
mobiForge Newbie
Posts: 6
Joined: 4 years ago
[offline]

Someone looking at this thread might find this interesting. I used meta refresh inside head of index.html page of main site:

meta http-equiv=”refresh” content=”0;url=index.php”

User now goes to main site, main site redirects through meta refresh, delay set to ‘0′ above, to index.php which has Andy Moore’s code, http://detectmobilebrowsers.mobi/, which checks whether browser is mobile browser or conventional web browser, it redirects to mobile pages or main site as appropriate.

Above solution works just fine, it got around the problem of the .html page not running the included .php code though I tried a couple of .access scripts to try to do this, more for another time. Adopting a more finely detailed approach serving mobile pages based on more detailed site usage as in

http://mobiforge.com/designing/story/a-very-modern-mobile-switching-algorithm-part-ii

is work for another day!::)

otisme

otisme

Posted by Colm Brazel 3 years ago

pic
 Colm Brazel
mobiForge Newbie
Posts: 6
Joined: 4 years ago
[offline]

forgot to add, in the redirect script you need to point your main site to other than index.html, eg use home.html, otherwise you set up infinite loop!

otisme

otisme