As a predefined way PWAs have a generic domain of the system (apps.nocode-builder........).
It is advisable to customize the domain of your PWA to avoid conflicts in permissions and cookies that can be generated when the same device has several PWAs that share the same domain.
To customize the domain of your PWA you will need to follow these steps:
Step 1:You need to have a domain or subdomain.
You can hire it with the domain provider you want.
Example of a domain: domain.com
Example of a subdomain: pwa.domain.com
If you hire a domain in GoDaddy (or other similar provider) and include SSL, that SSL certificate is normally intended for use on your own hosting or managed services, butcannot be used directly to target the ScoreApps PWA.
ScoreApps uses Cloudflare as a free proxy and SSL manager for custom PWAs.
Domain settings for PWAs is managed through Cloudflare, where the domain or subdomain is assigned to the PWA server and the SSL is issued from there.
Step 2: Set up your SSL with CloudFlare
The first thing is to go to CloudFlare and create an account by clicking on sign up
- Select the Free plan to add a Website
- Enter an email and create a password
Once inside we go to the Left side panel and select Websites, then cylc in "Get Starter" or "Start" in English
We introduce our main domain without http or www, alone (domain.com) and press to continue
Then we select the Free plan and continue it
We click again to continue without touching anything else
We will appear a section where we will see 2 links:
You will then need to access your domain provider and searchthe DNS server section where you will have to place these 2 CloudFlare links in the same order. Save and return to CloudFlare
In CloudFlare we will have to go to DNS and click add an "Add Record" record.
Configuration for subdomins
- Here we will have to select the type "CNAME", put in the field name "the subdomain" and in Target we must put: "apps.nocode-builder.com" and keep.
Example:
If the domain iseggdaddy.comand we have created a subdomain for the PWA which isapp.eggdaddy.comin the field "Name"we will have to place "app app app"
Configuration for domines
- Here we will have to select the type "A", put in the field name "the domain" and in Content we must put: IP "46.21.144.194" and we save.
- Then we go to the section of the SSL/TLS side menu and put it inFull Full Full
STEP 3: Place the custom domain or subdomain
Go to the section of the builder's left side menuPWA > PWA Builderand place the domain in the field"Custom domain or subdomain for the PWA" (in the case of our previous example it would beapp.eggdaddy.com) )
Then press the blue button"Save"to apply that domain to your PWA
NOTE: Under no circumstances should you put hereapp.nocode-builder.com
STEP 4: Request activation
Once you have set up the domain or subdomain for the PWA you will need to send an email to support
helpdesk@scoreapps.comindicating the activation of the custom domain or subdomain.