Solved

Virtual Server Login to Webmin

Posted on 2003-11-24
3
399 Views
Last Modified: 2013-12-16
Hello,
  I am trying to access webmin.domainname.com for all of the virtual servers that I have set up in the virtualmin component of webmin.
 
For Example.  I have a virtual server named dgscard.com.  I would like to allow the administrator for this site to be able to login to webmin using this url: webmin.dgscard.com

How do you set this up using webmin?
Thanks,
curlypinhead
0
Comment
Question by:curlypinhead
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 125 total points
ID: 9816550
NameVirtualHost *:80   # Any port 80 connection on any interface is virtual host

# Virtual host www.mysite.com
<VirtualHost _default_:80>     # On default interface - assume one:)
DocumentRoot /var/www/html/www/
       Options ExecCGI
       ServerName www.mysite.com
       ScriptAlias /cgi-bin/ /var/www/cgi-bin/main/
</VirtualHost>

# Virtual host www.battlefields.com
<VirtualHost _default_:80>
       DocumentRoot /var/www/html/battlefields/
       ServerName www.battlefields.com
</VirtualHost>

# Virtual host www.alex.com
<VirtualHost _default_:80>
       DocumentRoot /var/www/html/alex/
       ServerName www.alex.com
       DirectoryIndex index.htm
</VirtualHost>
--------------------------------------X8-------------

DNS servers must resolve:

www.alex.com
www.battlefields.com
www.mysite.com

So you now have difference web server name and you can put your webmin into one of the virtual host in /etc/httpd.conf and let the user to access.

Hope this info can help
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9816557
or have a look here http://www.cre8asiteforums.com/viewtopic.php?p=7558 to get more info.
0
 
LVL 2

Author Comment

by:curlypinhead
ID: 9821429
Thanks guys,
  I looked into httpd.conf for the first time (I am very new to linux) and figured it out from there with info you gave me.

Thanks,
curlypinhead
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question