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 18.104.22.168 mysubdomain.no-ip.org Satisfy All