'Apache web server: Serve multiple websites (not sub-domains) from port 80
I am planning to make changes to Apache web server so that it can serve multiple websites (not sub-domains) from port 80.
This will save money for someone who has more than one website. That person need not buy more than one hosting plan, one hosting plan will suffice.
Based on the incoming base URL, Apache web server will decide from which directory to serve the index file or other files. There will be a user file where user can list which website is mapped to which directory.
For example:
abcd:com:/abcd xyz.com:/xyz
I am not familiar with Apache web server code so can someone point me to few files which I need to modify to implement this feature.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
