This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding a domain name in apache

 
Shreya Menon
Ranch Hand
Posts: 285
  • 0
  • 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
  • 0
  • 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>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic