Skip to main content

Hosting websites using Subdomains on One Server

I had this curiosity and finally understood the concept behind it and found a way out. One thing is clear—DNS can resolve different subdomains to different IP Addresses only. So, a each website should either have its own server or the website should listen on a specific interface whose IP is bound to the subdomain. But, one interface can have multiple IPs assigned to it