Results 1 to 3 of 3
  1. #1

    JBannister's Avatar
    Member Since
    Apr 20, 2007
    Temple, GA
    NameVirtualHost Problem
    So I've done it over and over and tried to setup the two domains I want to host on my IP address. From what I've read I've done it correctly by going to the httpd-vhosts file and adding the two virtual host, but they still won't point to the domains when I type them in the browser. They are:
    Index of / &
    Index of /
    I have no idea why when I type these in they go to the root folder where I have to actually click them to go to the site. I've done all this over and over and read the apache documentation to do it, but I'm at a stand still. I'd greatly appreciate any help.
    Thanks. &
    They are going to the index files above for some reason.

  2. #2

    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    27" i7 iMac, 15" Macbook Pro TB, 13" Macbook Air, iPhone 6S, iPod Nano 7th Gen
    Show us your Apache configuration..


  3. #3

    Member Since
    Feb 26, 2009
    Keep all sites in one folder:

    Then edit your http-vhost and host files to all point in one location:

    Example http-vhost file (/private/etc/apache2/extra/httpd-vhosts.conf) entry:
    <VirtualHost *:80> 
        DocumentRoot "/Users/yourUserName/Sites/somesite" 
    <VirtualHost *:80> 
        DocumentRoot "/Users/yourUserName/Sites/anotheresite" 
    Example host file (/private/etc/hosts) entry:
    16GB iPhone
    17" MacBook Pro 2.93, 320@7200, glossy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. outlook 2011 problem problem problem
    By knfall97 in forum macOS - Apps and Games
    Replies: 0
    Last Post: 03-13-2011, 12:16 AM
  2. Replies: 4
    Last Post: 12-31-2010, 05:19 PM
  3. Replies: 0
    Last Post: 03-08-2010, 08:13 PM
  4. Replies: 7
    Last Post: 09-01-2008, 10:39 PM

Posting Permissions

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