How to restrict all services to single domain in Ubuntu?
        Posted  
        
            by 
                harold
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by harold
        
        
        
        Published on 2014-06-08T19:29:54Z
        Indexed on 
            2014/06/08
            21:27 UTC
        
        
        Read the original article
        Hit count: 264
        
Someone has pointed an unknown domain to my server's IP address likely via A records. I would like to reject access to ALL services (httpd, ssh, mail, etc.) from this domain and only allow requests from my domain. I want to make it so when I connect to that domain it's completely rejected from my server. I can disallow access from HTTP by changing my web server settings, but I want to do this for every single type of connection.
How can I do this?
© Server Fault or respective owner