Forum Moderators: phranque

Message Too Old, No Replies

Apache2 Unbuntu configuration

Need help with name-based virtual domains

         

feralo

4:13 pm on Jan 25, 2006 (gmt 0)

10+ Year Member



I have been trying to get virtual domains running on my development (Unbuntu 5.10) machine for some time now. I am really tired of only being able to work on one site at a time. A lot of reading has given me a good idea of what I might need to do (I have tried a few things with no success)... does anybody have any tips for me?

I have read that symbolic links are needed, but I have also read that they might not be needed. I was really hoping that someone could lay out the changes that must be made (and where to make them) in order to get a name based virtual domain up...

Thanks (in advance)

(PS i have no experience with virtual domains on Apache or Apache2, i have just found that most all the documentation out there is not for Apache2)

jdMorgan

4:35 pm on Jan 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



feralo,

To prevent members wasting time posting background info, can you confirm that you've read these documents [httpd.apache.org]?

Jim

feralo

6:58 pm on Jan 25, 2006 (gmt 0)

10+ Year Member



Yes,
i have read thatdocumentation. And it seemed simple enough, but when i tried it - the outcome was not as expected, so i read on and found myself reading in this very forum - [webmasterworld.com...]

but in that article there is mention of
symlink from: /etc/apache2/sites-enabled/

Which i did not find mentioned on the apache documentaion page...

Whereas over here [ubuntuforums.org]
in the Ubuntu forum there is made mention of symlinking into sites-enbaled or a2ensite!

On petersblog.org/tags/69 (you have to scroll down to Ubuntu Apache2 Virtual Server) there is mention of the command '2ensite site2', but it sounds like the command didn't work for him, since he had to undo it!

I would not consider myself savvy enough to know how to undo damage done by command line alterations on my server- so i posted my question here hoping to get a more tangible solution.
Thank you

[edited by: jdMorgan at 7:23 pm (utc) on Jan. 25, 2006]
[edit reason] Fixed formatting, removed blog link per TOS. [/edit]

feralo

7:28 pm on Jan 30, 2006 (gmt 0)

10+ Year Member



To anyone else who ever faces a similar issue: i found a very helpfull explanation here:
[enterprise.linux.com...]
i am not sure where the apache2 documentation for the 'sites-available' and 'sites-enabled' directories was- i sure couldn't find it...