Addon Domain: Manage Subdomain(s) Only, not the Primary Domain
I have an account, my main account, let's call it Blue and it hosts blue.com on IP 1.2.3.4 (for sake of example). My friend has a domain on their own server, let's call it buddy.com (for sake of example). We want my server to handle all wildcard domains (*.buddy.com) not already being managed by buddy.com's DNS, specifically on the Blue account because that has all the software and environment on it we want to handle *.buddy.com's traffic. We also want SSL enabled.
I'm really close to figuring this out. Here's what I know I need to do:
- My friend adds DNS records for buddy.com: *.buddy.com 1.2.3.4 300 _cpanel-dcv-test-record.buddy.com ns1.blue.com 300 _acme-challenge.buddy.com ns1.blue.com 300
- I add all of buddy.com's nameserver IPs to "Configure Remote Service IPs"
- I go into the Blue cPanel account and... somehow magically (this is the part I can't figure out) only add *.buddy.com as an addon subdomain and configure it do the subdirectory I want to handle its traffic
- I install the letsencrypt plugin for AutoSSL and run it for the Blue account
-
It's all right here: . Then Let"s Encrypt will query the DNS system for that record. If it finds a match, you can proceed to issue a certificate! ... Since Let"s Encrypt follows the DNS standards when looking up TXT records for DNS-01 validation, you can use CNAME records or NS records to delegate answering the challenge to other DNS zones. This can be used to 0
Please sign in to leave a comment.
Comments
31 comments