New answers tagged

4

Yes, this is the default behavior. The web server should be configured to serve from the correct document root when the request comes from a specific subdomain. For example, if you use apache, you should configure virtual hosts appropriately. Ref: https://httpd.apache.org/docs/2.4/vhosts/examples.html Above page contains the below example: # Ensure that ...


Top 50 recent answers are included