Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   How to serve multiple sites:each site->unique domain/subdomain/folder in cms web app (https://www.askmehelpdesk.com/showthread.php?t=723753)

  • Dec 21, 2012, 02:03 PM
    anyaservices
    how to serve multiple sites:each site->unique domain/subdomain/folder in cms web app
    I am working on a Java based content management system. Now, I want the same web app (deployed on Tomcat) to serve multiple websites-- with each site having its own domain/subdomain/folder.

    Eg. Site 1= www.site1.com, site2= www.site2.com, site3= http://site3.mysite.com, site4= http://site4.mysite.com and site5= http://mysite.com/site5 and site6= http://mysite.com/site6

    As you can see from above examples, eg1 & 2 --> multiple domains, eg3 and eg4 -> different subdomains while eg5 and eg6-> subfolders within same domain.

    What kind of coding will I have to do to accomplish the above? Also what kind of DNS recors will I have to create for the same?

    Thanks,
    Arvind.

  • All times are GMT -7. The time now is 06:13 PM.