Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have two domains each registered with different registrars. I have domainA.com linked with a website on someServer. Now I want to make domainB.com links to the website domainA.com.

How can I do that?

Note: I`m a beginner with web hostings and domains.

share|improve this question
    
What web server you using ? and OS ? –  ntrance Feb 7 '11 at 2:24
    
the web server that my website is hosted on is godaddy. and it is on a linux server. the other domain is registered with a company in Egypt. –  sikas Feb 7 '11 at 2:24
add comment

2 Answers

Point the domain at the same server, and add it to the current virtual host configuration on the server.

share|improve this answer
    
How can I do that? I`m new to hosting and domains. –  sikas Dec 1 '10 at 12:51
    
and how can I access the virtual host configuration file on the godaddy hosting? –  sikas Dec 1 '10 at 12:56
    
It's kind of difficult to say, seeing as how you've given us almost no information. –  Ignacio Vazquez-Abrams Dec 1 '10 at 12:57
    
ok, what info do you need? –  sikas Dec 1 '10 at 13:01
    
The web server configuration. Or at least just the <VirtualHost> directives. –  Ignacio Vazquez-Abrams Dec 1 '10 at 13:18
show 8 more comments

If have to point the dns entries of the 2nd domain on the dns server you have. Since the ip of the web server is the same, you have to use a different port

share|improve this answer
    
No, this is completely incorrect. –  Ignacio Vazquez-Abrams Dec 1 '10 at 14:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.