Two Laptop Bag*
The moose likes Tomcat and the fly likes Adding a domain name in apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Adding a domain name in apache" Watch "Adding a domain name in apache" New topic
Author

Adding a domain name in apache

Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Hi,

Right now our application is called like http://servername ortnumber.com
I want it to change to http://applicationname and then domain name

Where in http.conf file shall I make this change ?

Pls advice
Thanks
Rahul Singh Khokhar
Ranch Hand

Joined: Feb 23, 2005
Posts: 36
Although u r not clear with your question, If I got u right, u r looking for something like this:
httpd://anyname.servername.com

Have u tried putting your required name and document root into the <VirtualHosts> of httpd.conf?

<virtual host>
ServerName anyname.servername.com
DocumentRoot /var/www/whatever
</virtualhost>
 
Consider Paul's rocket mass heater.
 
subject: Adding a domain name in apache
 
Similar Threads
Deployment of ear without using admin console
URL routing
help ,I install apache2054,it can start,but nothing appear.
Servlet mapping
Resource not available with chinese characters