Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Location
    SLC UT USA
    Posts
    39

    Virtual Hosts Question

    Another of my domain's changes has propatated and is now pointing at my VPS.

    However, the domain goes to the main page of my site, not the specified subdirectory.

    Which is strange, because I have another virtual host with another domain, and it works fine.

    What is the difference?
    I have restarted the server a couple of times.
    If I don't have the first catch-all, then neither of them redirect to the subdir.

    <VirtualHost *>
    ServerName *
    DocumentRoot /abc/def/www
    </VirtualHost>

    <VirtualHost *>
    ServerName www.tiptail.com
    DocumentRoot /abc/def/www/tiptail
    </VirtualHost>

    <VirtualHost *>
    ServerName www.cynthiablue.net
    DocumentRoot /abc/def/www/cynblue
    </VirtualHost>

  2. #2
    Join Date
    Dec 2007
    Location
    SLC UT USA
    Posts
    39
    If I change the dir on the www.tiptail.com redirect to:

    DocumentRoot /abc/def/www/cynblue

    It redirects properly to cynblue.

    Not sure what is the difference in the directories. I have looked, they have the same permissions. There are PHP files in the tiptail directory, a wordpress blog. While the only thing in cynblue is an html file.

    But I can reach the tiptail subdir fine with the IP/tiptail

  3. #3
    Join Date
    Dec 2007
    Location
    SLC UT USA
    Posts
    39
    Bah nevermind, figured it out.

Posting Permissions

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