What is a domain alias (domain pointer)?
A domain alias, called a domain pointer in DirectAdmin, is a second domain name that shows exactly the same content as your main domain. Say you have a package with domeinA.nl and you want domeinB.nl to show the same website.
- If you go to www.domeinA.nl, that name stays in the address bar. If you go to www.domeinB.nl, that name stays. Both show the same website from the same hosting space.
- Mail sent to piet@domeinB.nl arrives in the mailbox piet@domeinA.nl.
- You can't create separate mailboxes or subdomains on an alias.
- In My WebOké, this is called an alias.
Creating a domain pointer yourself
- In DirectAdmin, select your website's domain (the target) at the top right.
- Under Account Manager, click Domain Pointers and then CREATE DOMAIN POINTER. The Add New Domain Pointer window opens.
- Under Source Domain, enter the extra domain name, without www. Check Create as Alias if visitors should keep seeing the extra domain. Leave it unchecked if you want to redirect.
- Click CREATE.
- Point the extra domain to us. If it's registered with WebOké, this is usually already the case. If it's registered elsewhere, set the nameservers to ns1.webawere.nl and ns2.webawere.nl, or point the A record to your package's IP address.
Don't see Domain Pointers in the menu, or do you get a message saying your limit has been reached? Then your package has no room for pointers. In My WebOké, go to your package (My Products, Manage, Configurable Options), increase the number of Aliases and click Save Options.
Do you want domeinB.nl to have its own website and its own mailboxes? Then add it to your package as a regular extra domain. Read Adding or removing a domain from your hosting package. Do you want visitors to domeinB.nl to be redirected to domeinA.nl (with the address bar changing)? Then use a redirect: read Creating a redirect to another domain.
See also in the DirectAdmin manual: Adding an extra domain and Site Redirection: redirecting a domain or page.
Detailed explanation with screenshots: Domain pointers: a second domain name for the same site in the DirectAdmin manual.
