[How-to] Setup Custom full root or Sub-Domain for Profile and Course

[How-to] Setup Custom full root or Sub-Domain for Profile and Course

1. Custom Full root domain like : http://www.example.com or http://example.com

2. Custom Sub-domain like :- http://something.example.com

1. We will go through first "Custom Full Root Domain"

To use your own Custom full domain like http://example.com, you will need follow below steps :-

1. Signup with Cloudflare.com 

2. And, Click on "Add site" in your Cloudflare account.

3. Follow the Cloudflare process and wait until , Cloudflare says, "Your Domain is Active".

4. Once domain is "Active", Go to "DNS Settings".

5. There on top, you will see :- 

  Type   Name Value TTL
  A   yourdomain.com      points to xxx.xxx.xxx.xx (Some IP)      Automatic  

You will need to delete above record by clicking on "X" button.

6. You'll then create the CNAME  type record  with name "@" of value “w3clan.com”. You'll substitute w3clan.com with your Sub-domain URL on w3clan

7. You are done. DNS propagation may take some time. Don't get panic, if it's not instantly updated. 

8. If you want to redirect "www" to non-www, you can set page rule . By going to "Page Rule" option of cloudflare.  Click on Add Setting, Choose Forwarding URL, with Status code of "301 Permanent Redirect" and Value "http://youDomain.com".

2. If you want to use Sub-Domain of your Domain

This is a simple setup if you're using a subdomain such as blog.myDomain.com.  

Method One :-

  1. Signup with Cloudflare.com 
  2. Than, Add your domain by clicking on "Add site".
  3. Now, Update settings as per cloudflare .
  4. Go to your DNS settings
  5. All you need to do is create a CNAME for your desired subdomain and have it point to "w3clan.com" .

Or Method Two :-

  1. Login to your Domain registrar, from where you bought the domain.
  2. Go to DNS zone or DNS Settings
  3. Click on "Add record" or "Create Record" option.
  4. Add new Record with type - "CNAME" of Value "w3clan.com" 
  5. That is all

----------

Keep in mind that DNS records can take time—sometimes up to 24 hours—to propagate across the web. Don't be surprised if your changes aren't reflected immediately.

After you've verified the new domain name working, go back to the Edit/Profile of w3clan.com and update your "url" where, it says, "I have my own domain name" with your sub-doman, you just created , i.e, "blog.myDomain.com".

For any help, leave below comments and team will help you out.