Quantcast
Channel: Recent posts | OpenSRS Help & Support
Viewing all articles
Browse latest Browse all 264

Designing the mobile site

$
0
0

Once you have added the goMobi service, you need to specify the appearance of the mobile site. If you want your customers to design their own mobile site, you should direct them to resellername.domainadmin.com, where resellername is your OpenSRS username. You also need to provide them with the username and password associated with the service.

If you are configuring the site for them, you can do that in the Publishing Manager.

  1. On the Publishing page, click the domain you want to configure.
  2. From the Actions drop-down list, choose Launch Site Builder to open the page that allows you to specify the contents and appearance of the new mobile site.

As you use the Site Builder to make design decisions for your mobile site, the picture on the right hand side changes to show you an approximation of the way your site will look when displayed on a mobile device. (The actual appearance may vary depending on the mobile device on which it is displayed.) You can choose as few or as many features as you want to display. Site Builder has its own help to guide you through the design process. When finished, click Finish.

Important: For security reasons, if Site Builder is idle for more than 5 minutes, it logs you out automatically. If that happens, any changes that you made since the last time you saved will be lost.

Re-Direction code

This section allows you to generate code that redirects visitors to either the Source domain or the Mobile domain, depending on what device they’re using. So, for example, if someone is accessing the site from a mobile phone, the mobile domain is displayed; if they’re accessing the site from a desktop computer, the source domain is displayed.

From the Re-direction code language drop-down list, choose the language that you want to use. The code appears in the Code field.

Note: For HTML websites, you must use Javascript redirection code.

Depending on the model that you use, the re-direction code may be copied and pasted on the Reseller website or the end user’s original (source) website.

If you are using JavaScript, redirection code, you need to insert the code into the global header. If you are using PHP redirection code, you must insert it at the very top of the page. For all other languages, you can insert the code anywhere on the website.

 

Setting the DNS

In order to correctly route HTTP traffic to goMobi domains, the DNS settings for the mobile domain must be configured correctly.

To do this, you need to change your DNS records for the mobile domain according to the most appropriate scenario below.

 

3rd-level domain(examples: m.example.com, mobile.example.com)

Customer uses your DNS

  • Use a CNAME record to direct traffic to lb.gomobi.info
    Example: m.example.com CNAME lb.gomobi.info

Customer hosts their DNS externally

  • Advise customer to use a CNAME record to direct traffic to lb.gomobi.

 

2nd-level domain(examples: example.mobi, example.info, example.com)

Customer uses your DNS

  • If your DNS system supports CNAMEs on 2nd-level domains, use a CNAME record to direct traffic to lb.gomobi.info
    Example: example.mobi CNAME lb.gomobi.info
  • If your DNS system does not support CNAMEs on 2nd-level domains, implement an HTTP redirect server that redirects example.com to www.example.com, add an A record for example.com to point at this server, and add a CNAME record for www.example.com that points at lb.gomobi.info
    Alternatively, you can use an HTTP redirect service that uses 301 or 302 redirects.

Customer hosts their DNS externally

  • If the customer’s DNS system supports CNAMEs on 2nd-level domains, advise them to use a CNAME record to direct traffic to lb.gomobi.info
    Example: example.mobi CNAME lb.gomobi.info
  • If the customer’s DNS system does not support CNAMEs on 2nd level domains, advise the customer to add an A record for example.com to point at your redirect server, and to add a CNAME record for www.example.com that points at lb.gomobi.info
    Alternatively, you can use an HTTP redirect service that uses 301 or 302 redirects.

 


Viewing all articles
Browse latest Browse all 264