VIRTUAL SITES BROKEN

8 posts / 0 new
Last post
#1 Fri, 06/18/2010 - 12:49
dlenorman

VIRTUAL SITES BROKEN

Virtual sites were working after the initial installation of VIrtualMin. They are now broken. I noticed this first occurred back in mid May after a package update. I don't know what's changed, but this is causing big headaches. Apache is only serving up the "default' website / directory.

After installing and un-installing virtual sites via VirtualMin, I cannot get the virtual sites to work correctly. I have read through these forums, Apaches docs, other forums on virtualhosts and I'm stumped.

DNS is not an issue. I have double checked DNS for the domain and it resolves correctly.

I have attached the http.conf and ssl.conf files for review. Any assistance in figuring out what's wrong would be great.

Thanks for any assistance in resolving this issue in a speedy manner.... I'm getting a bit desperate....

--Dlenorman..

Fri, 06/18/2010 - 14:08
ronald
ronald's picture

could be me, but I dont see attachments
are the document root directories set properly?

Fri, 06/18/2010 - 19:36 (Reply to #2)
dlenorman

Yes, the document roots are correct...

I am attaching http.conf.txt and ssl.conf.txt again here... thank you!

Fri, 06/18/2010 - 22:40
ronald
ronald's picture

in both files the listen directive is not set.
ssl.conf Listen *:443
http.conf Listen *:80
should both contain the correct IP. Then restart apache.

in your other thread I replied that DNS could be tweaked,
www.intodns.com is a good site to check your dns.

is your site visible?

Sat, 06/19/2010 - 23:58
Joe
Joe's picture

ronald is right, and I'll point out that this is covered by the Troubleshooting guide in the Web category here:

http://www.virtualmin.com/documentation/web/troubleshooting

--

Check out the forum guidelines!

Mon, 06/21/2010 - 18:28 (Reply to #5)
dlenorman

While I thought I was a bit knowledgeable, I guess I'm pretty green still comparatively speaking... thanks for your input. However, after implementing your suggestions, I am still having issues.

When I changed the Listen directive to the external IP address, Apache fails to start with the following errors:

(ssl.conf) Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 69.161.20.100:443 no listening sockets available, shutting down Unable to open logs [FAILED]

(http.conf) Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 69.161.20.100:80 no listening sockets available, shutting down Unable to open logs [FAILED]

Your continued assistance is appreciated...

--Dlenorman..

Mon, 06/21/2010 - 18:42 (Reply to #6)
dlenorman

I changed the IP address to the internal address of the NIC and put in the external address in the virtual server page.

Where is the setting for the default IP for virtual servers located in Virtual Min??

Default virtual server IP address??

thanks..

Tue, 06/22/2010 - 01:43
ronald
ronald's picture

is your server behind a NAT device?
System Settings - Module config - Networking settings - Default virtual server IP address would be set to what apache is listening to. This could be your external IP or your internal IP when behind a NAT device, like a home router.

Default IP address for DNS records would be your external IP for DNS.
See errors on your dns: http://www.intodns.com/alaskaadjusters.com
Your SOA is not set correctly and you may need to adjust some other settings.

Your site is showing though also with https, just a little slow for me.

Topic locked