Is posible to share one domain with many web sites? [closed]

Imagine you have several web sites deployed in different servers. It’s posible to share the main domain? V.g.:


Short answer: yes. It’s far far easier to use a subdomain since otherwise you would need a proxy.

To extend on this, suppose you have site1, site2, and site3 on different web servers. Rather than trying to mess with a proxy, simply add a subdomain to your domain like that points to the proper web server.

The more complicated method (if you can’t have/don’t want subdomains) is to use something like nginx to proxy requests for the specific folders to a remote site. This page has a decent starting point:

Again, it’s much much easier to just add a subdomain.

Source : Link , Question Author : Apocatastasis , Answer Author : Nathan C

Leave a Comment