multiple domains for 1 site?

Mutt

New member
Joined
Nov 24, 2005
Messages
2
I just learning Direct Admin and have a quick question.

once I setup an account and setup the DNS for it's domain name, can I add a second domain name to point to that same account? if so, do I use the same IP when setting up the DNS record?

it appears that I could go to DNS Administration and simply add the new domain name and enter the ip of the first account, but I don't know if thats legal. is there more I need to do other than making the changes at the registrar?

just in case I'm not being clear, here's an example

website.com is already setup with ip 1.2.3.4
I want people to be able to use either website.com or mywebsite.com to find the site.
do I just setup mywebsite.com with ip 1.2.3.4?
or is there something more?

thanks in advance
 
Just creating the DNS entry won't do anything but point the name to the IP... apache won't know what to do with requests for that name, though.

You could use domain pointers for this if you don't mind redirecting to the main domain.

Alternately, you can symlink the public_html directory from one domain to the other.
 
Set up the main domain.

Then set up the other domain as an alias.

DA will alias both email addresses and the site.

Jeff
 
Back
Top