Jump to content

Here is my question


G+_Jason Perry
 Share

Recommended Posts

You can host sites with different domain names on a single server - if that's what you're going for. And depending on how you want it to appear to users and want it setup, you can redirect to a specific URL:port. Namecheap offers a few options for this: namecheap.com - Types of Domain Redirects - 301, 302 URL Redirects, URL Frame (and CNAME) (Host records setup)

 

I've used the URL redirect and the cname. URL redirect and URL redirect frame should both let you specify a port number.

 

I believe Apache or nginx will let you host multiple sites on one server. I've been playing with VestaCP that does this very nicely and I've got I think 3 sites running on a dev VPS. Vesta is an open-source control panel similar to Cpanel. My favorite part is integrated LetsEncrypt support.

 

Hope this helps!

Link to comment
Share on other sites

you're correct, Jason. Basically, with the virtual host file you tell the machine that if a request is made for a certain domain to serve that domain from a specific folder. Essentially, Domain A would be served from Folder 1, Domain B would be served from Folder 2, and so on....

Link to comment
Share on other sites

 Share

×
×
  • Create New...