Limit acess to domain while under construction?

Discussion in 'Site & Server Administration' started by pHrEaK, Nov 15, 2011.

  1. #1
    I was curious how one would go about limiting access to a domain while it's under construction. I've developed quite a bit of the site locally using a virtual host, but now I'm needing to upload what I've done to my host so i may farther develop the site.

    What I'm needing to happen is for no one but myself to have access to the domain and it's sub-directories. I was curious if there was an easy way to accomplish this in my hosting control panel, or if I need to write a .php that only allows access to whoever knows the proper username and password?

    Any advice is appreciated...
     
    pHrEaK, Nov 15, 2011 IP
  2. 2WDH.com

    2WDH.com Active Member

    Messages:
    143
    Likes Received:
    3
    Best Answers:
    5
    Trophy Points:
    68
    #2
    Hi.

    Do you use static IP Internet connection? If yes, then allowing site access for that IP only can be a quick and easy solution for you.
     
    2WDH.com, Nov 15, 2011 IP
  3. pHrEaK

    pHrEaK Active Member

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    I use dynamic Ip addressing, and I have a couple places that I work on this at...or that would be the perfect solution.
     
    pHrEaK, Nov 15, 2011 IP
  4. pHrEaK

    pHrEaK Active Member

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Figured this out. I contacted my support team where i have my hosting and there was a simple "Password Protect" option that you can select for all the folders/files that are on your section of server, or the entire domain. This was very handy.
     
    pHrEaK, Nov 15, 2011 IP