How do I set up domain pointers or aliases?
How to set up domain pointers and aliases to redirect or alias domains in DirectAdmin.
By Yvan Watchman Updated
Domain pointers and aliases let you connect extra domains to your hosting, either pointing to the same content or redirecting visitors.
Adding a domain pointer
- Log in to DirectAdmin via the link in your welcome email, or go to my.planetnode.net, open your webhosting product, and click the login button
- Go to Domain Setup → Domain Pointers
- Click Add Pointer
- Enter the domain you want to point (e.g.
www.example.comorshop.example.com) - Choose the target domain or subdomain
- Click Add
Good to know
Pointers serve the same content as the target. Point www.example.com to example.com so both show the same site.
Adding a domain alias
- Go to Domain Setup → Create Alias
- Enter the alias domain (e.g.
olddomain.com) - Select which domain it should alias
- Click Create
Both the main domain and alias will serve the same website.
Redirects
To send visitors from one URL to another (e.g. HTTP to HTTPS or old domain to new):
- Use Redirects under Domain Setup
- Set source and destination URLs
- Choose temporary (302) or permanent (301) redirect
Nameservers
Ensure the new domain's nameservers point to PlanetNode: ns1.planetnode.cloud and ns0.xyphen-it.nl.
Additional resources
Did this article help you?
Related articles
My email goes to spam or is rejected: SPF, DKIM and DMARC
Does your email end up in spam or get rejected? Check SPF, DKIM and DMARC for your domain and keep the sending limit of 500 emails per day in mind.
How do I create and manage email accounts?
How to create email accounts, forwarders, autoresponders, and spam filters in DirectAdmin.
How can I create and manage MySQL databases?
How to create MySQL databases, manage users, and use phpMyAdmin in DirectAdmin.
I cannot reach my website, what now?
Read here how to solve problems when your website is no longer accessible.