Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Virtual Server Login to Webmin

Posted on 2003-11-24
3
Medium Priority
?
405 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 500 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

598 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