Shop-E-Business Custom Domain Inclusion Guide Line

Published At 2026/May/18

Standard Operating Procedure (SOP)

Customer Domain Onboarding Guide for Shop-E-Business

Overview:
Now that your architecture is built and tested, onboarding a new customer becomes a repeatable checklist process. This SOP ensures both the root domain and www version work flawlessly.

Phase 1: Purchase and Application Setup

Step 1: Buy the Domain

Purchase the domain (example: newcustomer.com).

Pro Tip:
Buying the domain directly through Cloudflare makes DNS and SSL validation slightly faster, but you can purchase it anywhere such as Namecheap or GoDaddy.

Step 2: Assign the Domain in Your Database

Open your Shop-E-Business database or admin dashboard and assign the domain to the customer’s shop.

Crucial Rule:
Only save the root domain: newcustomer.com

Do NOT include:
  • www.
  • https://
Your application code must match the incoming request using the exact root domain string.

Phase 2: Cloudflare Custom Hostname Setup

Step 3: Add the Hostname to Your SaaS Platform

  1. Log into Cloudflare.
  2. Open your master domain: shopebusiness.com.
  3. Go to SSL/TLS → Custom Hostnames.
  4. Click Add Custom Hostname.
  5. Enter: newcustomer.com.
  6. Keep the default settings:
    • Provided by Cloudflare
    • TXT Validation
    • Default Origin Server
  7. Click Add Custom Hostname.

Step 4: Copy the Validation Records

Expand the newly created hostname row and copy the TXT validation records generated by Cloudflare. Keep this page open for the next steps.

Phase 3: DNS Routing (Customer Domain)

Configure the DNS settings for the customer’s domain. If the domain was purchased through Cloudflare, use the Cloudflare DNS dashboard. Otherwise, use the DNS provider dashboard such as Namecheap.

Step 5: Route the Root Domain (CNAME)

Field Value
Type CNAME
Name @
Target www.shopebusiness.com
Proxy Status Orange Cloud ON (Proxied)

Step 6: Add SSL Validation (TXT Record)

Field Value
Type TXT
Name TXT Name from Cloudflare
Target Verification String
If the domain is managed directly in Cloudflare, validation may happen automatically.

Phase 4: Setup WWW Redirect

Step 7: Create Dummy DNS Record for WWW

Field Value
Type A
Name www
IPv4 Address 192.0.2.1
Proxy Status Orange Cloud ON (Proxied)

Step 8: Create Page Rule for Redirect

  1. Open Cloudflare dashboard for newcustomer.com.
  2. Go to Page Rules.
  3. Click Create Page Rule.
  4. URL Match:
    www.newcustomer.com/*
  5. Select:
    • Forwarding URL
    • 301 - Permanent Redirect
  6. Destination URL:
    https://newcustomer.com/$1
  7. Click Save and Deploy.

Phase 5: Verification

Step 9: Check Status

Return to: shopebusiness.com → SSL/TLS → Custom Hostnames

Wait until both the Hostname and Certificate show a green Active status.

Validation typically takes between 1 to 15 minutes.

Step 10: Final Testing

  1. Open a fresh Incognito/Private browsing window.
  2. Test:
    https://newcustomer.com
  3. Verify the customer shop loads correctly.
  4. Test:
    www.newcustomer.com
  5. Verify it instantly redirects to the root domain.

Important Concern: HTTP vs HTTPS

The Problem:

If http://shasroibazar.com works without HTTPS, Google may penalize the site and browsers will display a “Not Secure” warning to users.
The Fix (Cloudflare):
  1. Open Cloudflare dashboard for the domain.
  2. Navigate to: SSL/TLS → Edge Certificates
  3. Enable: Always Use HTTPS
Result:
Any visitor using http:// will automatically and invisibly be redirected to the secure https:// version.

You Are Ready to Scale 🚀

Keep this SOP checklist handy for onboarding every new tenant into your Shop-E-Business SaaS platform.