AlternativeWeb
Active Member
How can I installed more then one domain using Webmin?
Any domain I try to add on, it redirects to the main domain.
Any domain I try to add on, it redirects to the main domain.
ServerName localhost
NameVirtualHost *:80
<VirtualHost *>
ServerName maindomain.org
DocumentRoot "/home/maindomain.org/public_html"
<Directory "/home/maindomain.org/public_html">
allow from all
Options -Indexes
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *>
DocumentRoot /home/somedomain.org/public_html
<Directory "/home/somedomain.org/public_html">
allow from all
Options +Indexes
</Directory>
ServerAlias somedomain.org www.somedomain.org
ServerName somedomain.org
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /home/somedomain.org/public_html
ServerName somedomain.org
<Directory /home/somedomain.org/public_html/>
AllowOverride All
Allow from all
</Directory>
</VirtualHost>
.. your system is not ready for use by Virtualmin.
- The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin virtual server home directory is /home. CGI and PHP scripts run as domain owners will not be executed.
.. your system is not ready for use by Virtualmin.
- Suexec is enabled in the default template, but the suexec command was not found on your system.
# yum install apache2-suexec-custom
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.root.lu
* epel: mirror.muntinternet.net
* extras: centos.mirror.root.lu
* updates: centos.mirror.root.lu
Setting up Install Process
No package apache2-suexec-custom available.
Error: Nothing to do