Problem with webroot sub-servers

I created a virtual server called ‘user.site.com’, and later I created a sub-server called ‘project.user.site.com’…

But, from the browser ‘project.user.site.com’ redirect to webroot father server ‘/home/user/public_html’, not to '/home/user/domains/project.user.site.com/public_html

What can I do to solve that?

Howdy,

Hmm, if you go into Server Configuration -> Re-Check config, does it notice any problems?

I’m curious if it detects a DNS/NAT issue.

-Eric

Thanks so much!

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 3.37 GB of memory, which is at or above the Virtualmin recommended 
minimum of 256 MB.

BIND DNS server is installed, and the system is configured to use it. 
However, the default master DNS server localhost is not a fully qualified domain name.

Mail server Postfix is installed and configured.

Apache is installed.

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPd is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

Plugin DAV Login is installed OK.

Plugin AWstats reporting is installed OK.

Plugin Mailman is installed OK.

Plugin Protected web directories is installed OK.

Using network interface eth0 for virtual IPs.

IPv6 addresses are available, using interface eth0.

Default IP address for virtual servers is 10.168.0.18.

Both user and group quotas are enabled for home and email directories.

All commands needed to create and restore backups are installed.

The selected package management and update systems are installed OK.

Your system is ready for use by Virtualmin.

I just see:

BIND DNS server is installed, and the system is configured to use it. 
However, the default master DNS server localhost is not a fully qualified domain name

Where can I change the master DNS server? Is the master DNS server the same that the hosname from the computer? In my case ‘user’?

if you log into a shell and type: hostname
Does it say localhost? if yes then type: hostname host.domain.tld
that must be your FQDN like server01.domain.com and must be resolvable.

You can (read must) also set the hostname also via webmin - Networking - Network Configuration - Hostname and DNS Client

I have solved this changing the file ‘/etc/apache2/sites-avaibles/default’. Thanks so much!

Nobody can help me?

Please can you say you’ve changed that file?