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've had excellent service for last 2 years! Jon and his team have been excellent in their communication and at dealing with any problems.

    Abishek
  • We have been very happy with the service provided by RackSRV. The few times we've had any issues, RackSRV have been quick to help us out, even after-hours and on weekends. RackSRV have been very good at informing us in advance if any down-time could be expected etc.

    Steen - Illumi A/S
  • I've been using RackSRV for around two years now for dedicated servers and the service has always been top notch. The network is fast and reliable; any maintenance has always been announced well before it is carried out and network problems (if any) are always announced and you get a full report of all actions and...

    Gary - n/a
  • 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
  • Fantastic support, even when issues aren't directly associated with RackSRV. Highly recommended!

    Dominic - LEDChoice Ltd
  • The racksrv.com VPS service is by far the best I have used and trust me I have used ALOT! if anything they are undersold the performance is better than even the big players when running stress tests, my openVZ server beat both my VPS servers with linode and softlayer!

    Anthony
  • We have been very satisfied with the quality of service, and especially the level of support given for an unmanaged server, Jon is always there to help out. Very professional and polite, will be considering this company again!

    Keith
0