Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[HELP] Trouble configuring virtual host with webmin and apache.

I know my question is long, but I this is such a pain I wanted to be thorough. I need a networking guardian angel here before I shoot myself. Before I tried this I knew zero networking stuff. Hell I only just found out what a DNS is, so be gentle with me :D

Ok, firstly here is my set up and what I am trying to do:
I have ubuntu server (v13.1) set up on an old machine. On the server I have installed and set up Apache and Webmin(v1.69). The idea is that I can leave this running, and any machines on my local network can access the server remotely through SSH and Webmin. I want to host a web app an the server that a few of us are working on, so we can test and develop it on a kinda "mock ecosystem" to play around with different things and see how it works.
On this I want to have 2 named domains, admin.mysite.lan, and mysite.lan and in this director structure:
Code
/var/www-admin/www/admin.mysite.lan
/var/www-root/www/mysite.lan

What works so far:
Anyone one the network can open up Webmin either with the server ip or servername.lan (port 10000) fine. SSH works too. So then I moved onto Apache, which has a default virtual host set up, and any webpages I put in it's root directory loads fine in my browser with the ip or servername.lan (port 80).

The problem:
I try to set up a virtual host, following every guide and tip I could read, for one of the sites. I configured the DNS with BIND to point the named domains to the right ip and root directory. And nope. Nothing. Firefox just gives me the "server not found page". Thinking the DNS was complicating things a bit, I tried using just an ip. Same. Nothing. Zilch.
I have been banging my head off a wall with this for a week, tried every tip trick and guide and still nothing. If somebody knows how all this works and can walk me through it I'll be able to sleep finally
You need to provide name and type of hypervizer you are running.
Whats a hypervizer? I'm a noob with this stuff but I never came across any mention of that when I was reading up on this.
Your title says "...virtual host...", I have assumed that you are running a hypervizer. Please provided more details.
(Aug 24, 2014 08:31 PM)archangel.dmitry Wrote:  Your title says "...virtual host...", I have assumed that you are running a hypervizer. Please provided more details.

"virtual host" is part of apache configuration in webmin. Thats what its called.
Probably should have Apache VirtualBox help as title. I can help later today but for now I must work.
...and please don't feed the trolls...
,
Priizim
[Image: hQd5yZS.png]
You're either a 1 or a 0, Alive or Dead.



Possibly Related Threads...
Thread / Author Replies Views Last Post
by Archit3ctFeb 8, 2020 07:50 PM 3 132 Feb 8, 2020 07:50 PM
Last Post: Charger
by bustaperMar 18, 2018 07:01 AM 0 131 Mar 18, 2018 07:01 AM
Last Post: bustaper
by KovaskaJul 30, 2017 10:01 AM 1 227 Jul 30, 2017 10:01 AM
Last Post: Travelers