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

  • Your service has been 5 star and the server itself was fantastic. Your support was extremely good - I would consider it as a WOW factor for your business!

    Nick - Entire Technology
  • Great service, excellent prices and instant support! It is a pleasure working with you guys. Thank you and keep up the good work!

    Alexander - Dev Advisory Uk Ltd
  • Absolutely brilliant service, what brought me to racksrv in the first place was the speed at which they replied to my emails, and the support has continued to be superb. Jon has always been great, and particular thanks to Liam for helping me sort my most recent issue.

    Tom - Thplabs
  • Service is awesome, lovely bandwidth, nice tidy racks! Support is top notch; Jon is extremely efficient in fixing problems rapidly.

    Rohan - DediShack
  • I love dealing with RackSRV. They are professional, knowledgeable, helpful and accommodating. This is my first time co-locating and I needed a little guidance and help and RackSRV were more than happy to answer all my questions and offer advice. It is now a couple of months down the line and I am now looking to add a...

    Stuart
  • Jon@RackSRV has been great to us, we have a couple of off-net servers with them for backup/DR purposes and have had zero problems. Everything was set up quickly, despite us choosing the wrong options when ordering the server and the prices Jon gave us are fantastic, no-one else could even come near them. I've never...

    Freethought - Freethought Internet Limited
  • I moved my hosting to RackSRV 10 years ago after a friend recommended them. In that time my support tickets have always been answered instantly, any issues I've had with my website have been sorted quickly and I don't remember any downtime. Excellent service, I can't recommend this company and team en...

    James - Talk Chelsea
0