Solved

Virtual Server Login to Webmin

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now