Enter promo code HALFMANAGED at checkout for 50% off your first month’s bill on any managed service!
50% off managed hosting with code HALFMANAGED

Need help? We may have the answer for you already!

How to restrict directory access by IP address?

To secure your admin area from hackers, we recommend that you allow access only from a selected IP address to your admin directory. You need to create a .htaccess file in the directory where you want to restrict access to specific IP addresses.

For example, if you have a WordPress blog installed on your main directory and log in via example.com/wp-admin, you should create an .htaccess file in /wp-admin/.htaccess, and you should put the following code into it. Don't forget to replace the allowed IP address with your IP address.

order deny, allow
deny from all
allow from YOUR-IP-ADDRESS-HERE


(Replace "Your-IP-Address-Here" text with your IP Address)



You can test this by accessing your /wp-admin IP address from another IP address, which is not mentioned in your .htaccess file.

News @ RackSRV

Customer Feedback

  • Racksrv provided exactly what I needed, at an extremely reasonable price. Their service was always fast and helpful, and I can safely say that if I ever need hosting again in the future, Racksrv will be my first stop.

    Scott
  • I have been a long standing RackSRV co-location customer for a number of years now, and I can honestly say it is superb provider. If I ever need any assistance of any kind, Jon and the team are always glad to help with advice and kit when necessary. The KSP site is very well-connected with its diverse routed link...

    Pasquale - INTEGRATE MEDIA LTD
  • Racksrv provides us with high quality servers and support which run mission critical solutions. Support is professional and quick to respond!

    Yitzi - TEGUVA MARKETING 2009 LTD
  • I have used RackSRV for around two years now for colocation and the service has been fantastic. The network is incredibly fast and reliable, any planned maintenance has always been announced well before it is carried out. The level of customer service Jon and his team provide is also faultless and they are often exceed...

    Chris - The Hosting Heroes Ltd
  • The service I have received from RackSRV has been an excellent experience, their low latency high speed network has been flawless. I approached Jon with the need for a Dedicated Server, at the time he had an excellent offer available which I took advantage of in an instant, excellent specification hardware with grea...

    Craig - VeloxServ Communications Ltd
  • Great service provided by Racksrv, Great Support, Been with racksrv for near to a year, and since day one havent had a problem Jon has always been there to help Would recommend the company to anyone

    Manuel - Regdotter
  • I have been a customer of Racksrv for many years and throughout their service has been incomparably better than the other hosts I have worked with in the past. They take a real interest in helping clients achieve their goals and are unusually flexible in tailoring packages to specific needs. I cannot recommend them ...

    Tim - Colneis
0