Results 1 to 5 of 5

Thread: Ubuntu & Webmin - Trying to run multiple websites

  1. #1
    Join Date
    Oct 2008
    Beans
    12

    Ubuntu & Webmin - Trying to run multiple websites

    Hello everyone,

    I have installed and updated Ubuntu server 8.10 then I installed Webmin 1.45 and updated it also.

    I have setup my first domain lets call it "domain-a.com", and then I setup "domain-b.com" and restarted apache. but whenever I go to domain-b.com in the browser it loads domain-a.com, I setup custom folders for each.

    I have setup the Address with both my public static ip and with the servers inturnal ip address. This is how I have the virtual servers setup:

    Address: Any
    Port: Any
    Document Root: /home/myusername/www/domain-a
    Server Name: domain-a.com

    Address: Any
    Port: Any
    Document Root: /home/myusername/www/domain-b
    Server Name: domain-b.com

    What am I missing?

  2. #2
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,868
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Ubuntu & Webmin - Trying to run multiple websites

    Make sure the site is in the enabled list.

    Code:
    ls -alt /etc/apache2/sites-enabled
    Make sure the permissions are correct for your files in domain-b. Group should be set to www-data or what ever you are using for apache.

    Check the logs in /var/log/apache2

    Code:
    cat /var/log/apache2/access.log
    Code:
    cat /var/log/apache2/error.log
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  3. #3
    Join Date
    Sep 2006
    Location
    UK
    Beans
    396
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Ubuntu & Webmin - Trying to run multiple websites

    you do know that one of the reasons webmin is not available as a package in ubuntu is because it was dropped for security reasons and compatability issues with the way ubuntu sets out certainly application configuration files like apache.

  4. #4
    Join Date
    Aug 2006
    Location
    Omaha, NE USA
    Beans
    102
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Ubuntu & Webmin - Trying to run multiple websites

    Webmin is able to be run as securely a any admin app, Jamie Cameron does a tremendous amount of work to make it so. Just because Ubuntu veers away from debian in packaging doesn't make the apps better or worse, it only means that Ubuntu is inconsistent with debian

    As has been said in other threads, most security is up to how the admin configures access and apps, keeps up with security updates etc...

    Have you been to the Webmin doc site? tey have very good documentation for setting up these very things.

    http://doxfer.com/Webmin/Modules


    Have fun, learn lots

    Big Bear
    Just an overfed, long haired leaping gnome

    Using Linux in Small Business/School environment?
    find help at BEL Project ( Business Edition Linux)
    http://belproject.org

  5. #5
    Join Date
    Aug 2007
    Location
    Netherlands
    Beans
    97

    Re: Ubuntu & Webmin - Trying to run multiple websites

    just follow this how to, nice and easy

    http://www.debian-administration.org/articles/412

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •