Only allowing administration to access

Discussion in 'Apache' started by eranet, Aug 11, 2010.

  1. #1
    Hmm,

    I'm just curious, is there a way to allow only myself access to the site domain?

    I want to update my site, but I don't want visitors to be able to access the site during that time. E.g "Server not found", "403 forbidden" etc

    Is there a way to do that?
     
    eranet, Aug 11, 2010 IP
  2. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #2
    I'm sure there is a way to only allow your IP address to access the website, try Googling it.
     
    RadioBounce, Aug 11, 2010 IP
  3. PsyberMind

    PsyberMind Peon

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    look for htpassword when you google. If you are using a script, alot of them have "Mantinance Mode" that says the site is offline. Additionally if you are on your own server, you can always deny all, and whitelist your IP
     
    PsyberMind, Aug 11, 2010 IP
  4. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #4
    You can do this:

    Options -Indexes
    Order Allow,Deny
    Allow from YOUR.IP.ADDRESS.HERE
    Deny from all
     
    zacharooni, Aug 12, 2010 IP
  5. GCM

    GCM Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If your IP isn't dynamic do that. Otherwise you can use this http://www.zubrag.com/scripts/password-protect.php or the method allowed in your hosts control panel.
     
    GCM, Aug 12, 2010 IP