Softaculous


Topic : How to disable access to zzz.zzz.zzz.zzz/site.com/


Posted By: pashij on January 27, 2015, 8:35 pm
Hello!

I've installed "LAMP Stack powered by Webuzo" on my Linode VPS server.

So my server is reachable via IP and URL like liZZZ-zz.members.linode.com/
But there's an issue.

When I type in my browser something like zzz.zzz.zzz.zzz/site.com/  (where zzzzzzz is my server's IP address and site.com is the name of my hosted site) I can access it and I see my site.com website.

The same situation when I type liZZZ-zz.members.linode.com/site.com/.
But I don't think it's a good idea to have my sites to be accessed via this addresses.

How can I disable it?
So I need that user get error page when trying to access theese addresses.

But I still need my zzz.zzz.zzz.zzz:2002 and :2004 to be accessible.

Thank you for advise!

Posted By: valley on January 28, 2015, 12:43 pm | Post: 1
Hi,

You can implement a .htaccess file to accomplish the same.
You can find more information about .htaccess files in Apache servers' documentation over the web.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Powered By AEF 1.0.8 © 2007-2008 Electron Inc.