rahul
rahul

Reputation: 3098

How to create Subdomains pointing to different folders in a web server?

This may be basic but not able to find right answer so far. My requirement:

I shall have an html5/angularjs app running in each folder which will hold each customer context and various other resources. Webserver preferably = IIS8 (for Win) or Apache Tomcat (for linux)

Thanks in advance

Upvotes: 0

Views: 219

Answers (1)

Michael
Michael

Reputation: 684

with apache you could write a .htacces file from a PHP script using mod_rewrite. However the processing time is going to up on the server for every rewrite rule you make from your php script.

Upvotes: 0

Related Questions