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

  • I have been using RackSRV for 14 months now and have had no problems with any of the service provided. The network has been very fast and coupled with excellent quality servers the service has been second to none!

    Anthony - Fortec Trading Ltd
  • Excellent service, been using a VPS with racksrv for almost a year and have had no problems. I run a small business and am completely reliant on my website to bring new customers so it's important that I am sure my website doesn't have problems. The couple of times I have had small issues they have been res...

    Alastair
  • I have used RackSRV for a few years now and always been 100% satisfied with their service and professionalism. RackSRV provided me with a colocation solution that proved so reliable I had almost forgotten it was there because everything just worked as expected. I always get prior notice to any Service or maintenance up...

    Gary - Core Cross Media
  • RackSRV are a fantastic company to deal with. They tailor a server for you in no time at all, and had mine set up within 24 hours. After around a year with them I have had nothing but perfect customer service and brilliant prices. Cannot fault them at all. Thanks RackSRV!

    Duncan - Cypher Gaming
  • Your service has been great during the time I have been with you, therefore I wish your company all the best and success for the future.

    Chee - Code Infinity
  • Our community needed a game server to host our community games and voip on and were recommended RackSRV by a fellow server admin. I am happy to say that the server performance, customer support and service are all exemplary and I wouldn't hesitate to recommend RackSRV on again!

    Christopher
  • I have been totally satisfied with the service by RackSrv. The only reason I had to cancel my account was because I didn't need a dedicated server anymore. Thumbs up for the great support and their reliable servers!

    Stephan
0