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

I currently have Dreamhost, which is nice because I can host multiple domains. Is it possible to host multiple domains on a single Linode virtual host, or would I be limited 1:1 (1 virtual host : 1 domain)?

To make more clear (hopefully):

Let's say (in a bad example) I owned www.google.com and www.facebook.com, as is. The former is a search engine, the other is a social network. Could I host them both on a single linode virtual server and have them work like they should?

share|improve this question

migrated from superuser.com Nov 9 '10 at 9:44

This question came from our site for computer enthusiasts and power users.

2 Answers 2

You can point as many domains as you like to a single IP address; the VPS has nothing to do with this unless you want SSL.

share|improve this answer
1  
i don't think i asked the right question. i'll rewrite it. let's say (in a bad example) I owned www.google.com and www.facebook.com, as is. the former is a search engine, the other is a social network. could I host them both on a single linode virtual server? –  hatorade Nov 9 '10 at 7:21
2  
If you configure the web server properly, sure. –  Ignacio Vazquez-Abrams Nov 9 '10 at 7:24
    
You have full root access, you can do whatever you want :) –  webjunkie Jun 24 '11 at 13:38

Absolutely. The VPS emulates the hardware of a server. What you install on that is up to you. Handling multiple domains is a fairly common webserver function.

What you want to look into is something like Apache2's VirtualHost configuration. You can find some basic setup details (tailored for an Ubuntu 10.04 installation on Linode) here:

http://library.linode.com/lamp-guides/ubuntu-10.04-lucid

In particular the section on configuring name-based virtual hosts.

share|improve this answer

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.