This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding a domain name in apache

 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic