Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Point client domain to my domain

I have a website with subdomains for my clients (wildcard subdomain)

client1.test.com
client2.test.com

I want my clients to use their own domain If they want.

what kind of record needs to be added to point

client1.com => client1.test.com
shop.client1.com => client1.test.com

I´m using the free plan of cloudflare for www.test.com but I´m open to change it if it can´t be done

like image 394
handsome Avatar asked Sep 04 '17 17:09

handsome


2 Answers

CNAME records would work for that. You could also use A records to point to the same IP as test.com

like image 110
pucky124 Avatar answered Oct 27 '22 00:10

pucky124


You need modify the cname to redirect your client1 IP on their domain provider to client1.test.com

You need modify the cname to redirect your client2 IP on their domain provider to client2.test.com

CNAME setup on cloud flare is for paid plans only

https://support.cloudflare.com/hc/en-us/articles/200168706-How-do-I-do-CNAME-setup-

You might also want to check https://support.cloudflare.com/hc/en-us/articles/200168826-Does-Cloudflare-support-wildcard-DNS-entries-

like image 38
zero Avatar answered Oct 26 '22 23:10

zero