Virtualmin with FreeBSD

3 posts / 0 new
Last post
#1 Wed, 03/17/2010 - 01:34
tingfung

Virtualmin with FreeBSD

Platform: Freebsd 7.2 32bit Virtualmin: 3.7x

I have install virtualmin with automatic script in freebsd 7.2. I have already setup the dns , and ping the domain successful. When I create a website (e.g. example.com), everything is ok.

But I browse the website, it go to the default web directory of apache. I use the default virtualmin setting. And try to use below setting:

SuexecUserGroup "#1000" "#1001" ServerName eg.com ServerAlias www.eg.com DocumentRoot /home/eg.com/public_html DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options +Indexes allow from all AllowOverride All

Also cannot work, How can I solve it ? Thank you.

Wed, 03/17/2010 - 08:59
andreychek

Howdy,

That usually happens when the IP address in the section of your Apache config, as well as the value of the NameVirtualHost, either don't match each other -- or they aren't the value of the IP address you're going to.

Also, you may wish to check out the question titled "The wrong site shows up" here:

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

Thu, 03/18/2010 - 04:56 (Reply to #2)
tingfung

I have tried to change "NameVirtualHost" and "VirtualHost". But also cannot work. I have tried to use 64bit of FreeBSD, also not work.

How can I solve that ? Thank you !

Topic locked