Take a Site Go Live
Go Live Process

- Enable www and ssl
websites → search for the site

2. Django admin updation
- Map the user to correct domain name instead of test domain in https://console.growthplug.com/admin/website_cms/website/


3. Check the namserver details of the site
- Use this url to check this: https://dbadmin.growthplug.com/api/support/customer-details/?domain=
- above url end add the domain
Follow the steps below for Name server updation
4. Name server Updation
a. Check if the domain is controlled by growthplug's cloudflare using dns checking tools like https://securitytrails.com or https://mxtoolbox.com/SuperTool.aspx# or WHOIS Search, Domain Name, Website, and IP Tools - Who.is
b. Confirm if the name servers are the following, to see if the domain is pointed to our server
c. If the pointing is not there then find out the domain registrar.
- Check https://who.is/ and enter the domain to find out the domain registrar
d. Suppose registrar is godaddy.com, then we need to ask the customer to point the dns settings to cloudflare or customer needs to add growthplug as the authorised delegate for the account. (delegate access) - @Imrin will have to ping customer regarding this
Reference:
https://in.godaddy.com/help/request-access-to-another-persons-godaddy-account-12379
https://in.godaddy.com/help/invite-a-delegate-to-access-my-godaddy-account-12376
Common domain registrars are https://www.enom.com/ https://www.ionos.com/ etc
- Preferred option is to ask the customer to transfer the domain name to growthplug, so that we can own the domain on behalf of the customer.
- Once the domain name is pointed to our cloudflare or the domain is registered in name.com under growthplug's account.
a. if the domain name is under growthplug's name.com account, we need to update the dns settings to the above ns settings
b. If the domain name is pointed to cloudflare, then do a check on cloudflare to check the status
5. Hit Go live in Django admin
- Once the above steps are done, hit go live for the website in
https://console.growthplug.com/admin/website_cms/website/

The site will be ready in few mins.
Backend Process on triggering ‘Go Live’ :
- An entry is added in WebsiteLiveRequest table for the selected domain, with status as 'True'.
- A cron job for processing entries in the above table runs every 5 minutes.
- Whenever the job runs, all entries with status=True are selected and the entire process for go live is initiated for each of these.
- An entry is added in Cloudflare for this domain ,if not already done and proceeds if nameserver is pointed.
- Uptime robot entry is then added for the site to monitor its status.
- Also Google Analytics ,Tag Manager , Page Speed, Sitemap and WebMasterProfile entries are created.
- If completed successfully, then WebsiteLiveRequest entry status for the domain is changed as ‘False’.
- At any point of failure, the go-live process halts and is repeated in next 5 minutes till one hour from initiation. After one hour of repeated failures, the process repeats hourly till it gets live.