Page 1 of 1

Multiple domains, one IP, shared hosting

Posted: Sat Oct 11, 2014 4:51 pm
by Spooney
I have set up VestaCP on a DO droplet, and it works well. I have 3 domains and I want them to share the one IP address. But I would like for them to each handle that domain's traffic with the HTML files in the associated folder, the public_html one that is created when you created a new domain under the Web menu.

How do I get each domain to display its own content? I thought each domain would receive its own traffic. All data seems to direct to the primary domain.

Any advice would be appreciated!

Re: Multiple domains, one IP, shared hosting

Posted: Sat Oct 11, 2014 5:23 pm
by turkey3
Each domain has its own public_html folder. I am not exactly sure what yoy are saying.

Re: Multiple domains, one IP, shared hosting

Posted: Sat Oct 11, 2014 9:06 pm
by F41L
What you need to do is add web domains, these are virtual hosts that will respond with a proper public_html folder depending on the domain in the http request header. You can serve up potentially unlimited(depending on your server's resources) different domains/public_html folders.