SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    2,182
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)

    Public and private virtual hosts - risks?

    I'm wondering if there is any risk involved with running several virtual hosts on a machine, all would be private urls (mysite.local, mysite2.local) except for one which would be public (mysite.com). I know I'd have to ensure that if anyone pointed to the external ip of this server, that the public site (mysite.com) was served. My main concern is with the private sites.

  2. #2
    SitePoint Wizard bronze trophy Jeff Mott's Avatar
    Join Date
    Jul 2009
    Posts
    1,266
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    I would think that something like this in the vhost config should do the trick.

    Require ip 127.0.0.1
    "First make it work. Then make it better."


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
  •