Virtual Domains & Apache2

This is a discussion on Virtual Domains & Apache2 within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm new to configuring Apache and I had some trouble so I thought I'd share. I was getting ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2007
E-Star
 
Posts: n/a
Default Virtual Domains & Apache2

I'm new to configuring Apache and I had some trouble so I thought I'd
share.

I was getting a [warn] message with "has no virtualhosts".

First of all I ensured that my default <virtualhost *> was loaded first
by using a numbering scheme in ./sites-available.

eg. 001-default.conf
002-firstdomain.com.conf
003-seconddomain.com.conf
etc

What I originally did was copy the original "default" file from Apache2,
but it has at the very top the NameVirtualHost entry.

I just had to remove that line from all files except for my first
one...ie..default.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0