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

  • Like many I had been buying servers from American companies with poor customer support under the illusion that you just can't get a decent server for a decent price in the UK. Racksrv disproved that myth for me. Their offer of a powerful server based in the UK, generous transfer allowances, and awesome customer supp...

    James
  • Knowledgeable staff who respond quickly to tickets combined with a keen price point make using Racksrv has been a pleasure.

    Manuel - Regdotter
  • We have had 2 core2duo dedicated servers from RackSRV for a couple of months. Very pleased with them, and particularly pleased that any problems/queries we have had have been dealt with quickly and with excellent communication.

    Stuart - pub clan
  • I've been with RackSRV now for quite some months, and their service has been outstanding. Their customer support is fantastic, and since I've been somewhat of a 'needy' client in terms of upgrades / downgrades, they have maintained their professionalism and excellent service throughout. I am more tha...

    Carl - LoxTech Gaming
  • RackSRV is a wonderful hosting company, The network is very good and i've never had any issues. Whenever i needed support my tickets were always answered quickly and professionally.

    Iain - Apocalypse Prevention Team
  • When I was first looking to purchase a Dedicated Server I had looked around at a few providers, but choose RackSRV for their friendliness and helpful support. This was the first time I had purchased a Dedicated Server, so I was very new to how Payments and Setup would work. So I simply asked a few questions, and go...

    Daniel - zFast Technologies
  • We at use-IP Ltd have been a RackSRV customer for approximately 10 years, with a fully-managed dedicated server. We run an ecommerce business; essentially, our webshop IS our business. Therefore, good hosting and great support is vital. For a short period we were tempted away from RackSRV to another host by a de...

    Phil - Use-ip Ltd
0