+ Reply to Thread
Results 1 to 7 of 7

Thread: VPS - webmin help

  1. #1
    allofus is offline x10 Sophmore allofus is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Wetherby, West Yorkshire, England
    Posts
    183

    Question VPS - webmin help

    Hi,

    I have made another post on the forums a week or so ago related to java and since discovered that debian and ubuntu have repo's for java making for an easy install.

    NP there, but lxadmin, the gui that is pre-installed with centos 5.2 in teh VPS is not available with deb/ubu...

    Again not a huge problem because there is an alternative called webmin / usermin.
    http://webmin.com


    If only it was that easy though.
    webmin is really not as straight forward as lxadmin. With lxadmin I was able to click add domain, add sub-domain and type the name and desired file location and hey-presto it was added.

    webmin is really not this simple and I am struggling to get my head arounds it.

    I have setup a user which is now accessible via usermin.

    I now want to be able to add a domain and sub-domains in webmin that can be managed by said user but I can't get it to work.

    It may be worth pointing out that the NS, s are not being hosted by me, I just need to add the domains and sub-domains since the nameservers are already configured and good to go!

    What do I do?

    Respectfully,
    MattG

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: VPS - webmin help

    Yeah, simple would be the absolute last word I would use to describe it.

    I'm assuming you have apache installed and configured already. If I understand your question correctly, you have to mess around with the apache webadmin module:

    http://doxfer.com/Webmin/ApacheWebserver

    I think all you have to do is modify/add the virtual servers to fit your needs. It sounds too easy, but I think all you have to do is tell it you want it to take the requests from yoursite.com to /your/server/path/

    Well, we went through this last time where I was completely wrong. Maybe I can be 50/50 after this one :P
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    allofus is offline x10 Sophmore allofus is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Wetherby, West Yorkshire, England
    Posts
    183

    Re: VPS - webmin help

    Quote Originally Posted by garrettroyce View Post
    Yeah, simple would be the absolute last word I would use to describe it.

    I'm assuming you have apache installed and configured already. If I understand your question correctly, you have to mess around with the apache webadmin module:

    http://doxfer.com/Webmin/ApacheWebserver

    I think all you have to do is modify/add the virtual servers to fit your needs. It sounds too easy, but I think all you have to do is tell it you want it to take the requests from yoursite.com to /your/server/path/

    Well, we went through this last time where I was completely wrong. Maybe I can be 50/50 after this one :P
    Thanks,

    Seems the issue was related to setting up virtual servers, but now I have set them up I have new problems!


    I have half-fixed the apache2 issue, but now whichever sub-domain I add first is resolved, but not the rest. They all point to the files uploaded to the first sub-domain.

    1.example.com
    2.example.com
    3.example.com

    all show the files for 1.example.com via any browser dispite all having their own unique files and such.

    Even if I add the virtual servers directly to the httpd.conf file.

    Funny thing is that if I do not add direct to this file there is no evidence of them on this file, seemingly they are being stored elsewhere and I cannot find where.

    I am sure that the resolution to this issue will be insignificant in comparison to the journey that got me to this frustrating point, but once again I hit the proverbial brick wall and have come back to these forums for advice!

  4. #4
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: VPS - webmin help

    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  5. #5
    allofus is offline x10 Sophmore allofus is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Wetherby, West Yorkshire, England
    Posts
    183

    Smile Re: VPS - webmin help

    Quote Originally Posted by garrettroyce View Post
    Thanks a million garrettroyce...


    I read the guide you linked to me and it was not overly helpful on it's own, but right down near the bottom there was a link ( http://httpd.apache.org/docs/2.2/vhosts/examples.html ) to 'Virtual Host examples' and it was this that really helped me.

    I edited the file
    /etc/apache2/httpd.conf
    Code:
    <VirtualHost *:80>
    DocumentRoot /home/allofus/public_html/ventrilo.4allofus.com
    ServerName ventrilo.4allofus.com
    ServerAlias ventrilo.4allofus.com
    </VirtualHost>
    
    <VirtualHost *:80>
    DocumentRoot /home/allofus/public_html/services.4allofus.com
    ServerName services.4allofus.com
    ServerAlias services.4allofus.com
    </VirtualHost>
    
    <VirtualHost *:80>
    DocumentRoot /home/allofus/public_html/shoutcast.4allofus.com
    ServerName shoutcast.4allofus.com
    ServerAlias shoutcast.4allofus.com
    </VirtualHost>
    It works just how I expected and indeed wanted it to work.

    Now if I wish to add any more sub-domains I can just add it to the httpd.conf file.


    Hooray.

  6. #6
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: VPS - webmin help

    yay, I win by default!

    Glad it's working for you.
    Last edited by garrettroyce; 03-30-2009 at 06:53 PM.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  7. #7
    allofus is offline x10 Sophmore allofus is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Wetherby, West Yorkshire, England
    Posts
    183

    Re: VPS - webmin help

    lol hehe lmao

    yea thanks.

+ Reply to Thread

Similar Threads

  1. VPS - DNS Templates question
    By allofus in forum Programming Help
    Replies: 8
    Last Post: 11-30-2010, 04:38 AM
  2. [REQ] [PTS: all && $: 20] DNS Services
    By David in forum The Marketplace
    Replies: 2
    Last Post: 02-28-2009, 08:58 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers