0
votes
1answer
76 views

Cant connect to my server through ssh

My problem is as follows. I have a made VM(Ubuntu Server) and I have edited the hosts.allow/deny for limited access. However, now I can't connect from my PC through ssh to the server. What should I ...
0
votes
4answers
535 views

Automatically change hosts file

I have a Server on my house to proves and when I'm on my laptop in my house I have to write the local IP to see the web server, and i want to know if it is possible write a script to automatically ...
0
votes
2answers
169 views

not sure I set my host name right need someone to straighten me out

I just installed Zimbra and I think I screwed up my host name trying to get it to install. I did get Zimbra installed but the certificate is not working. (that's another topic) Here is my host file: ...
-1
votes
1answer
605 views

How to correctly write hosts file to redirect to ip with subdirectory

Hello i'm not really new to linux, but i stumbled upon a problem when I copied website on localhost/subdirectory. The homepage is runing normaly but the links redirect to root of the server i.e. ...
1
vote
0answers
160 views

How do I block an IP using hosts.deny with a non-default program?

I'm new to all of this. I'm running Ubuntu 12.10 x64. I recently wrote a program in C++ that accepts TCP connections on port 57370, and it is running as a daemon (I used this guide). It's not very ...
0
votes
1answer
246 views

Access Wiki installation on Host from Virtual Server

Recently I set up a Dokuwiki installation on Ubuntu Server in VirtualBox. My host OS is Ubuntu 11.10. Till date I was using NAT configuration for my VirtualBox. Since today I decided to use Host-only ...
8
votes
2answers
5k views

How do I properly set up and secure a production LAMP Server?

It's very hard to find comprehensive information on this subject. Either I found short tutorials on how you perform the installation, as simple as "apt-get install apache2", or outdated tutorials. So ...
5
votes
1answer
1k views

Where should I place aliases for localhost?

I often need to use aliases for localhost (127.0.0.1) for my development work of websites, such that I can access them locally while routed via apaches virtual host concept. In the past I have always ...