What DNS record is needed to host multiple domains on one ip

I already have a working domain that I can open in my browser.  What DNS record do I need to be able to host a second domain using the same ip?  How will the two websites be distinguished using one ip?  Thanks for your help
gloyola1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

duncanb7Commented:
You have two domain and one IP, You have two choices
1-You can set IP forwarding to assign your second domain to point your server IP at your DNS register company website at your login account

2-You can set the nameserver on your DHS register company point  to your name server and set DNS record on your server for second domain

After either choice, your second domain name will be proprogated around the world
within 48 hours so that afterwards others can access your second domain

Duncan
0
footechCommented:
This doesn't sound like a DNS question so much as a website hosting question.  If you want to host two sites on the same IP then the method I'm aware of in IIS is to use host headers.  For example, you will set up a site with a host header of "www.example.com", and another site with a host header of "www.otherdomain.com".  When a client tries to reach www.example.com, that name is sent in the request so that IIS knows which site to direct the request to.

As far as DNS, all you need are A records to resolve a name to an IP.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gloyola1Author Commented:
Thanks
0
duncanb7Commented:
If you have other questions, you can make new thread on EE  or ask it in the same thread. Thanks for your points

have a nice day

Duncan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.