Solved

Virtual Server Login to Webmin

Posted on 2003-11-24
3
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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.

691 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