Tag archive for ‘IP’

Solaris: How do I setup a default static route / static router IP address?

/etc/defaultrouter is the configuration file for default router under Solaris os. The /etc/defaultrouter file can contain the IP addresses or hostnames of one or more default routers, with each entry on its own line. If you use hostnames, each hostname must also be listed in the local /etc/hosts file, because no name services are running [...]

HowTo: Add Additional IPs

How to add multiple IPs on an Ethernet network interface card i.e. eth0? OR How to add additional IPs on a Linux server? People find it rather hard to add the IPs manually on a Plain server. Following are the steps you can follow to add a range of IPs on a CentOS server: 1 [...]

Apache restrict access based on IP address to selected directories

Apache web server allows server access based upon various conditions. For example you just want to restrict access to url http://payroll.nixcraft.in/ (mapped to /var/www/sub/payroll directory) from 192.168.1.0/24 network (within intranet). Apache provides access control based on client hostname, IP address, or other characteristics of the client request using mod_access module. Open your httpd.conf file: # [...]

Installing mod_geoip For Apache2 On Fedora 9

This guide explains how to set up mod_geoip with Apache2 on a Fedora 9 system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as OpenAds or phpAdsNew) ad server [...]

Top 10 ways to stop spam in WordPress

Spam is a nuisance, and as bloggers, we have all experienced a flood of spam every now and then. Not only is it a pain, but it can slow down your blog and use up your resources. In this post we’ll look at ten ways to combat spam. 1. Install Akismet This is the simple [...]

Plesk: Unable to create PHostingManager object:Unable to set current ip address

You may notice an error message “Unable to create PHostingManager object:Unable to set current ip address: IP address is missing” in Plesk when trying to manage a domain from Domains >> domainname.tld. The error appears when an IP assigned to a domain is not assigned to the ‘Owner’ of the domain. To fix the issue, [...]

Basic Steps to Secure Apache

Here are some basic steps to secure Apache Web Server IMPORTANT NOTE: These suggestions may vary from server to server and modify the values as per your server configurations. It is up to you to determine if any of the changes suggested here are not compatible with your requirements. 1. Hide the Apache Version number, [...]

HOWTO Setup your nameservers

At the Registrar: 1. Pick a domain that you own to use for a DNS server. 2. Go to your registrar and log in. 3. Go to a screen called manage my domain or domain management (You are looking for the screen that lets you make changes to an already registered domain) 4. Go to [...]

Howto: deny/allow IP using iptables

How to block an IP using iptables? iptables -A INPUT -s xx.xx.xx.xx -j DROP How to block an IP for a specific port: iptables -A INPUT -p tcp -s xx.xx.xx.xx –dport PORT -j DROP How to allow access to an IP? iptables -A INPUT -s xx.xx.xx.xx -j ACCEPT How to allow access to an IP [...]

Proftp log file shows strange fff with IP address

I have often noticed that while running ftp server with ProFTP there are strange f’s coming with ipadress like FFFF:11.33.44.99 I got this fixed by disabling IPv6 used by Proftp. Just put this one line in your proftp configuration file /etc/proftpd.conf UseIPv6 off You can see the changes while analysing the /var/log/secure log file for [...]

Enter your email address:

Liên Kết Website

web design | Shared linux windows problems | Dedicated server | website chất lượng cao | hosting chất lượng cao | Tutorial video collection | Troubleshooting Tips and Tutorial