K***n 发帖数: 131 | 1 I have a domain name http://www.myDomain.com hosted by Apache Tomcat and the files are sitting in ..webapps\ROOT folder. My DNS is with yahoo
Now I want to add a subdomain, say http://subdomain.myDomain.com and prefer the subdomain folder is under webapps, NOT under ROOT for easy edit.
How do I set it up? i.e how can I associate the subdomain name with the
subdomain folder?. I can create CNAME http://subdomain.myDomain.com ih yahoo but cannot point to the subfolder in Apache.
Any solution, tha | e******x 发帖数: 925 | 2 使用VHOST
【在 K***n 的大作中提到】 : I have a domain name http://www.myDomain.com hosted by Apache Tomcat and the files are sitting in ..webapps\ROOT folder. My DNS is with yahoo : Now I want to add a subdomain, say http://subdomain.myDomain.com and prefer the subdomain folder is under webapps, NOT under ROOT for easy edit. : How do I set it up? i.e how can I associate the subdomain name with the : subdomain folder?. I can create CNAME http://subdomain.myDomain.com ih yahoo but cannot point to the subfolder in Apache. : Any solution, tha
|
|