Skip to content

How to enable cPanel to provide Domain Parking for all Domains pointed at the name servers

License

Notifications You must be signed in to change notification settings

1ClickServicesLtd/cpanel-domainparking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpanel-domainparking

These two steps will allow you to enable your cPanel DNS Only hosts as a domain parking provider for domain names pointed to your name servers. You can customise the template with your own name servers, time to live, abuse contact and parking IP.

Once your domain names are pointed to a host you can then create a web page that can read the domain name and display this on screen with either adverts or other information as you wish. Remember to ensure the web server serving these pages has no hostname set in Apache. This will only answer over http:// not https://.

Support the request at cPanel at URL - https://features.cpanel.net/topic/22062-domain-parking-for-any-domain-set-to-name-servers

DNS Server Configuration

Addition of the following to named.conf and named.conf.prerebuilddnsconfig
Files Edited: /etc/named.conf /etc/named.conf.prerebuilddnsconfig
zone "." {
type master;
file "/var/named/domain.parking";
};

Zone Configuration

Zone configured with the following -
File: /var/named/domain.parking

; Domain Parking Template V1.0
@ IN SOA ns.yourbrand.co. abuse.yourbrand.co.uk. (
2021041200 ; Serial
86400 ; refresh, seconds
7200 ; retry, seconds
1209600 ; expire, seconds
300 ) ; minimum, seconds

; Name Servers
300 IN NS ns.youbrand.co.
300 IN NS ns.yourbrand.co.uk.
300 IN NS ns.yourbrand.uk.
300 IN NS ns.yourband.io.
300 IN NS ns.yourband.tech.

; Domain Parking

  • 300 IN A 8.8.8.8


# Verification of Legitamite Domain Lookup


# Confirmation of DNS Response using "Google.com"

About

How to enable cPanel to provide Domain Parking for all Domains pointed at the name servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published