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 an application running on a server. I want to point multiple (10+) domains to this application.

My hosting company is different than my domain registrar. Once the domain is registered, I change the DNS to point to my hosting server.. is that enough to route things properly?

share|improve this question

3 Answers 3

The Web server will display the default site for the IP. If the site displayed by IP is what you want all the domains to point to, yes.

Otherwise, you will need to configure virtual hosts to accommodate your desired configuration.

share|improve this answer

More than likely, this won't be enough. You'll end up getting the "default" domain for each of your other domain names. By default, I mean the host's default site. (try browsing directly to the IP only of that host...) Most hosting companies setup "virtualhosts" for each customer instead of a unique server & ip per-customer. You will probably need to contact them and they can setup the "alias" domains for you.

share|improve this answer

I'll assume you talk about a web app.

If you configure the webserver at your hosting company to accept queries for all domains in question, the "routing" part should be OK. That doesn't necessarily mean that things would work when your application is not prepared to properly handle queries from different domains.

share|improve this answer

Your Answer

 
discard

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