Two things:

1. you need to deploy your webapp as the ROOT webapp on the server.  there
is a standard ROOT webapp that ships with TC, you can just replace that if
you want to, examine that to see how to configure it, look especially at the
%catalina_home%/webapps/ROOT/WEB-INF/web.xml config file.

2. you need to edit %catalina_home%/conf/server.xml so that TC listens on
port 80 rather than 8080, to do that you need to edit this line (from the
standard file on TC 5.5.9):
    <Connector port="8080" ...... />

your webapp is then at the URI of "/" rather than "/myDomain" so it's URL
will be whatever the server name is, e,g, www.myservername.com .
Configuring the domain name is outside the scope of TC config - you need to
get your ISP to config nameserver entries for that.

> -----Original Message-----
> From: A.Mohan [mailto:[EMAIL PROTECTED] 
> Sent: Monday 24 October 2005 05:08
> To: users@tomcat.apache.org
> Subject: How to create a website in apache-tomcat-5.5.12
> 
> 
> Hi All 
>       Im new to this group . 
> i had some doubts regarding my subject(mail)
>  
> i had developed a web application named myDomain under webapps dir
> So far my development i used to call the application in tomcat 
> like http://localhost:8080/myDomain
> Now i want it to be deployed in www server so that i can call 
> it simply
> www.myDomain.com that is also tomcat server.
>  
> What could i do for it , simply i want to create a domain in tomcat 
> how can i create , i struggled to found out the soln 
>  help me out -- please
>  
> Thanks 
> Mohan
>  
>  
>  
> 
>               
> ---------------------------------
>  Yahoo! FareChase - Search multiple travel sites in one click.  
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to