OpenSUSE Linux Rants

OpenSUSE Linux Tips, tricks, how-tos, opinions, and news

My Resume  -  My LinkedIn Profile

February 25, 2006

Virtual Hosts in SUSE 10.0

by @ 10:40 am. Filed under SUSE Tips & Tricks

Well, it took me a little bit, but I finally got it. Once I did, it was a snap. I’m talking about setting up virtual hosts on a SUSE 10.0 webserver. In your /etc/apache2/httpd.conf file, add a line:

NameVirtualHost *:80

And then you go into the /etc/apache2/vhosts.d/ directory. There will be a file called vhost.template which you will use to configure your virtual host. Open that file up and save it as something like [insert virtual host here].conf . It doesn’t matter what the name of the file is, because the /etc/apache2/httpd.conf file will include everything in that directory that ends in a .conf extension. Then, you just go through the file, editing everything as it should be. Hopefully, it’s pretty self-explanatory. It all made perfect sense to me. Save that file. Then, restart apache:

/etc/init.d/apache2 restart

And you should be all set up.

SUSE 10.1 beta 5 is out, sweet!

Comments are closed.

OpenSUSE Linux Rants
Official OpenSUSE Linux Site

internal links:

categories:

SUSE Resources

search blog:

archives:

March 2022
S M T W T F S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031  

62 queries. 0.596 seconds