I've created an account with no-ip.com that registers my laptop's ip with a subdomain of their service (mysubdomain.no-ip.info). When I do an nslookup on that subdomain, I see that the service is working and that it is pointing to the correct IP for my laptop.
Now I want to provide access to that subdomain on the admin site of our server which is protected by htaccess IP restrictions. When I try to add the subdomain to my script it does not work. Am I doing something wrong? I'm basically trying to make my laptop so it can log in from no matter when I'm at while still preventing all other IPs from accessing the site.
The following is the .htaccess file in the server directory I'm trying to access. I get a 403 error when trying to access that directory. Entering the exact IP of my laptop instead of the subdomain works fine.
## password begin ##
AuthName "Restricted Access"
AuthUserFile /usr/www/users/site/.passwd
AuthType Basic
Require valid-user
Order deny,allow
Deny from all
Allow from 69.1.122.161 mysubdomain.no-ip.org
Satisfy All
mysubdomain.no-ip.com(.com or .org, BTW?) your laptop, or is it a server? A different one from the server that hosts the admin site? The given .htaccess snippet comes from an .htaccess file on the server that hosts the admin site, right? Also, what exactly doesn't work, and how? Are you getting an HTTP 403 (Forbidden) error code when you try to access the admin site from your laptop? – David Zaslavsky Apr 3 '10 at 0:48Allow fromwith 1 entry per line so you need a entry for 69.1.122.161 and another for your subdomain. – Prix Aug 24 '10 at 23:31