Current time: 12-23-2024, 04:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
Apache Virtual Host
Author Message
pcangel Offline
Junior Member
*

Posts: 10
Joined: Feb 2010
Reputation: 0
Post: #1
Apache Virtual Host
How can I manually add virtual host? Does anyone have any idea
01-15-2012 10:49 PM
Find all posts by this user Quote this message in a reply
fair Offline
Newbie
*

Posts: 8
Joined: Oct 2009
Reputation: 0
Post: #2
RE: Apache Virtual Host
That is very simply

Code:
touch /etc/apache2/sites-available/manualsite
now you must define virtual host. Example you have in cat /etc/apache/sites-available/ispcp.conf
Code:
vi /etc/apache2/sites-available/manualsite
after save you must active new file
Code:
a2ensite manualsite
/etc/init.d/apache reload
01-18-2012 03:58 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)