Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

virtual web hosting in ubuntu

Status
Not open for further replies.

somaditya majumder

Newbie level 3
Newbie level 3
Joined
May 3, 2006
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
Recently, I found that Apache2 Virtual Hosting is really easy in Linux. I used Ubuntu Hoary distribution, which can be termed as updated and polished avtar of Debian. The steps for enabling Virtualhost for Apache2 is as follows -

1. Install Apache-2
#apt-get install apache2

2. Add site specific configuration file in /etc/apache2/sites-available
#vi /etc/apache2/sites-available/example.org

ServerAdmin webmaster@example.org
DocumentRoot /home/example/www/example.org
ServerName example.org:80
CustomLog /home/example/www/log/apache2-access.log combined
ErrorLog /home/example/www/log/apache2-error.log


3. Enable the site
#a2ensite example.org

4. Restart Apache
#/etc/init.d/apache2 restart

Once you are done, point your browser to https://example.org
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top