Solved

Virtual Server Login to Webmin

Posted on 2003-11-24
3
398 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

Title # Comments Views Activity
Remove a folder in Linux 9 104
How to find Linux Server's last patch date 9 51
Linux VM 6 89
CENTOS DHCP Server / PXE/TFTP 14 77
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

777 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