Submitted by info@orderlastm... on Sun, 12/04/2016 - 13:16
I install a html website builder in a virtual server but that builder does not comes with a login function.
how can I have this virtual server ONLY I can access? with or without password. like only recognize my ip or my cookies...
thanks
Status:
Active
Comments
Submitted by JamieCameron on Sun, 12/04/2016 - 13:43 Comment #1
You could lock is down to allow access only from a certain IP - would that work?
Submitted by andreychek on Sun, 12/04/2016 - 14:08 Comment #2
Howdy -- if you're looking to lock it down by IP address, you could always install a .htaccess file in the directory containing your application.
Then, give that .htaccess file the following contents:
allow from x.x.x.x
deny from all
That will make it so that the IP address of "x.x.x.x" is allowed to access the content, but all other IP addresses are denied.