469,927 Members | 1,655 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

how to set up subdomain apache tomcat

7
hi all,
I want to set a subdomain(abc.domain.net) to same ip(www.domain.net), So i edited this file C:\abc\jakarta-tomcat-5.5.7\conf\server.xml

<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false"
<alias>www.abc.domain.net</alias>
</host>

And also i created webapps2 folder & i edited index.html.

But if i try this www.abc.domain.net , it will redirecting to www.domain.net

Do i need to change server port & connector port also?

pl. help me to set up this subdomain.
thanks
Sep 25 '07 #1
4 9312
Motoma
3,237 Expert 2GB
What you are looking for is a virtual host. If you Google "apache tomcat virtual host" without quotes, you should get a good list of sites describing how to set them up.
Oct 1 '07 #2
jank
7
What you are looking for is a virtual host. If you Google "apache tomcat virtual host" without quotes, you should get a good list of sites describing how to set them up.
Thanks Motoma, I searched in Google many times, its saying i need to edit httpd.conf file. But i do't have tht file.
Oct 2 '07 #3
Motoma
3,237 Expert 2GB
Thanks Motoma, I searched in Google many times, its saying i need to edit httpd.conf file. But i do't have tht file.
The Apache Tomcat 5.5 Documentation for Virtual Hosting.
Really, all of the documentation you need for Tomcat can be found on the Tomcat website, under the Documentation header.
Oct 2 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Alexandr Molochnikov | last post: by
reply views Thread by Kevin Sagon | last post: by
5 posts views Thread by Grant Collins | last post: by
1 post views Thread by ptaz | last post: by
12 posts views Thread by Tina | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.