Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 24 of 24
ok. I replaced it. Every thing works fine, but .com still goes to .org for some reason. When starting HTTPD now I get this: Starting httpd: [Wed Apr 26 17:35:44 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38

    ok. I replaced it. Every thing works fine, but .com still goes to .org for some reason. When starting HTTPD now I get this:

    Starting httpd: [Wed Apr 26 17:35:44 2006] [warn] NameVirtualHost *:80 has no VirtualHosts
    [ OK ]

    Any ideas?.
    Thanks

  2. #22
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    ok how about this

    NameVirtualHost *:80


    # Where do we put the lock and pif files?
    LockFile "/var/lock/httpd.lock"
    CoreDumpDirectory "/etc/httpd"

    # Defaults for virtual hosts

    #
    # Virtual hosts
    #

    # Virtual host byroman.homelinux.org
    <VirtualHost *:80>

    ServerName byroman.homelinux.org
    DocumentRoot /var/www/html/main/
    ServerAdmin byroman@gmail.com

    </VirtualHost>

    # Virtual host byroman.homelinux.com
    <VirtualHost *:80>

    ServerName byroman.homelinux.com
    DocumentRoot /var/www/html/threemeninatub/
    ServerAdmin byroman@gmail.com

    </VirtualHost>

  3. #23
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Yes! Its working now. Thanks so much for all your help!
    What exactly was the problem? (Just incase this happens again)

  4. #24
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    what you have for namevirtual host has to match whats inside the virtual host container, and it didn't.

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

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