Hosting several HTTP servers on single domain name
- by Nakilon
Several people have got a single domain name server.company.com server, where they are now supposed to host their infrastructure or temporal projects, written in different ways even in different programming languages. How do they divide the domain?
Split into subdomains: john.server.company.com, kate.server.company.com, etc.
This would need a lot of admins' assistance, time, etc. -- there would be no way for John and Kate to do it themselves.
Split into url namespaces: server.company.com/john/, server.company.com/kate/, etc.
Pro: They now can make a single welcome page at root with any additional info (if they need?)
Con: Each server would need to know their namespace string constant, and hrefs like / whould need patching.
Split into ports: server.company.com:8080, server.company.com:8081, etc. and make a single :80 welcome page.
Pro: They still can make a single welcome page at :80
Con: ???
I would like to know more pros and cons for 2 and 3 solution.