+ Reply to Thread
Results 1 to 9 of 9

Thread: Apache vhosts not working

  1. #1
    jtwhite's Avatar
    jtwhite is offline Community Advocate jtwhite is on a distinguished road
    Join Date
    May 2009
    Location
    TN, USA
    Posts
    1,381

    Apache vhosts not working

    Hi,

    I am using webmin to aide in administering my server. I have two domains pointed to my server: justinsnetwork.com and forumize.info

    I have added apache vhosts through webmin, making the server name each domain name, etc, then applied changes and restarted Apache.

    For some reason it is not working. If you access either domain, it goes to the same page.


    Any ideas?
    If I have helped you, please add to my reputation () on the bottom left corner of this post.
    jtwhite.me - Visit my site :D

  2. #2
    masshuu's Avatar
    masshuu is offline Head of the Geese masshuu has a spectacular aura about
    Join Date
    Oct 2007
    Location
    Las Colinas, Tx
    Posts
    2,262

    Re: Apache vhosts not working

    Doublecheck the document paths on them
    Just leading the flock.
    Livewire
    Masshuu ------ carl6969
    descalzo ------------------- Smith6612
    Bryon--------------------------------- Corey
    If you find any post helpful or useful, duck
    \ / This for that post and rep it up.

  3. #3
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Apache vhosts not working

    I fixed this for Paul.. I just forget how I did it.

    I'll ask him when he gets back on IRC
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  4. #4
    jtwhite's Avatar
    jtwhite is offline Community Advocate jtwhite is on a distinguished road
    Join Date
    May 2009
    Location
    TN, USA
    Posts
    1,381

    Re: Apache vhosts not working

    Quote Originally Posted by leafypiggy View Post
    I fixed this for Paul.. I just forget how I did it.

    I'll ask him when he gets back on IRC
    Who's Paul? lol Like that literal name or does he have a screen name?


    EDIT: Okay, I'll ask him.
    Edit:
    Okay, I figured this out but now for some reason, the only mysql user that will work is root... Any other user, even when given full privileges, cannot connect to the database.

    What's going on with that?

    EDIT2: Nooooo, now it's doing the same thing! WTF apache!?
    Last edited by jtwhite; 02-01-2010 at 05:56 PM.
    If I have helped you, please add to my reputation () on the bottom left corner of this post.
    jtwhite.me - Visit my site :D

  5. #5
    The Real Rebel's Avatar
    The Real Rebel is offline x10 Lieutenant The Real Rebel is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    Ireland
    Posts
    336

    Re: Apache vhosts not working

    Lol you know if you install webmin and usermin, It will sort that for you ;)

  6. #6
    masshuu's Avatar
    masshuu is offline Head of the Geese masshuu has a spectacular aura about
    Join Date
    Oct 2007
    Location
    Las Colinas, Tx
    Posts
    2,262

    Re: Apache vhosts not working

    Quote Originally Posted by The Real Rebel View Post
    Lol you know if you install webmin and usermin, It will sort that for you ;)
    I have added apache vhosts through webmin
    i assume he is using webmin

    Check the HOST setting for the users, should be localhost, and then you need to use localhost in all the scripts(you can do that through phpMyAdmin, in case your using something else)
    Last edited by masshuu; 02-02-2010 at 03:06 AM.
    Just leading the flock.
    Livewire
    Masshuu ------ carl6969
    descalzo ------------------- Smith6612
    Bryon--------------------------------- Corey
    If you find any post helpful or useful, duck
    \ / This for that post and rep it up.

  7. #7
    jtwhite's Avatar
    jtwhite is offline Community Advocate jtwhite is on a distinguished road
    Join Date
    May 2009
    Location
    TN, USA
    Posts
    1,381

    Re: Apache vhosts not working

    There's no reason for it not to work. I know how to do everything manually and I'm really thinking about just doing it that way.
    Last edited by jtwhite; 02-02-2010 at 08:54 AM.
    If I have helped you, please add to my reputation () on the bottom left corner of this post.
    jtwhite.me - Visit my site :D

  8. #8
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Apache vhosts not working

    There's a line in httpd.conf that you have to add for vhosts to work... Still looking for Paul.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  9. #9
    masshuu's Avatar
    masshuu is offline Head of the Geese masshuu has a spectacular aura about
    Join Date
    Oct 2007
    Location
    Las Colinas, Tx
    Posts
    2,262

    Re: Apache vhosts not working

    thats usually enabled by default, at least with the distros ive worked with.
    it looks like this in apache2.conf:
    Code:
    # Include the virtual host configurations:
    Include /etc/apache2/sites-enabled/
    Just leading the flock.
    Livewire
    Masshuu ------ carl6969
    descalzo ------------------- Smith6612
    Bryon--------------------------------- Corey
    If you find any post helpful or useful, duck
    \ / This for that post and rep it up.

+ Reply to Thread

Similar Threads

  1. Replies: 8
    Last Post: 05-15-2009, 03:14 AM
  2. Apache is Working Message
    By gomarc in forum Free Hosting
    Replies: 3
    Last Post: 04-25-2008, 10:26 AM
  3. Replies: 2
    Last Post: 01-28-2008, 04:38 PM
  4. I get the graet success apache working page
    By pthalmann in forum Free Hosting
    Replies: 1
    Last Post: 01-09-2008, 07:37 AM

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