Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


NOTE - This section only works for the app made using the Converter tool. If you need to brand application built the Mobsted Constructor -please refer to this article of Help docs. 


There are two ways to brand the app to your domain name. By branding we mean that users will see you domain as the source of the installation.


(1) Easy - Branding with SUBDOMAIN


After this procedure can use a64hs61c54d.YOURDOMAIN.com in all the app links, instead of  a64hs61c54d.mobsted.com. 


NOTE - ONLY THIS SUBDOMAIN OF YOUR DOMAIN WILL BE FORWARDED TO MOBSTED APP. The rest of your domain will work as it is now.


Anchor
PWA-CNAME-end-table
PWA-CNAME-end-table
This table shows how approximately it will look within your domain admin panel:




AWWW123.456.789.123 (your IP here)
CNAMEa64hs61c54da64hs61c54d.mobsted.com
CNAMEa64hs61c54d-admina64hs61c54d-admin.mobsted.com


The table contains just an example, follow these steps to connect YOUR account.

a) Log into your website's domain admin panel. 


b) Create new record of type "CNAME"


c) Put into "HOST" = your mobsted account name, which you can see in example in BOLD - http://Mobsted account name into first CNAME's name or host name (it can be called differently in some systems), which is in BOLD - a64hs61c54d-admin.mobsted.com /(Note - just the account name here which is in bold red).


d) Set it's "POINT TO" = your mobsted account name - http://the first CNAME  to point to your mobsted account address - a64hs61c54d.mobsted.com / - WITHOUT the "-admin"


_________


e) Create the second new record of type "CNAME"


f) Put into "HOST" = your mobsted full account name( WITH THE "-ADMIN" part , which you can see in example in BOLD - http://) into second CNAME's name or host name, so a64hs61c54d-admin.mobsted.com/


g) Set it's "POINT TO" = your mobsted account name - http://the second CNAME to point to your full mobsted account address - a64hs61c54d-admin.mobsted.com/



So, you will have 2 new CNAMES pointing to 2 subdomains in Mobsted system, for branding to work properly. The table above shows the end result you need to achieve.





ALLOW for about 15 minutes to a couple of hours for the procedure to take effect, as your domain hosting provider needs to update it's records into the world wide web.



Info
titleVERY IMPORTANT

You MUST 100% match both CNAME's host name and the domain it points to your account ID. For all automatic account it is alphanumeric, but it can also be branded for accounts, which we create manually for partners.



b) Choose between iFrame and non-iFrame option


Using this table you can make a choice, which option is best for you.


Generally, things like different login forms do not function well, when in iFrame, so it is advisable to take the app out of iFrame. The iFrame will only be needed to install the application, but a user will be taken out, upon login.



Image Added

...

Check the blue box ↑, after you connected 2 CNAMES, to turn OFF the iFrame for this app's website.



(2) Harder - Branding using web server, i.e. NGINX



You need to modify you NGINX instructions with Mobsted commands.


We recommend creating a new CONF file in pone of the catalogs, /etc/nginx/sites-available/{DOMAIN}/server
or /etc/nginx/sites-available/{DOMAIN}/location, with the following instructions:


DOWNLOAD IT HERE - mobsted_includes_nginx.conf.txt



Image Added






(3) For deeper fully branded experience use the PWA JS Capsule option