Howtos / Articles

First thing to do after creating a virtual server

If you are setting up a new virtual server (eg. on Rackspace / any VPS provider), the first thing you will want to do after creating the server, is to check the IP address you are assigned against known blacklists. If you find that your new IP address is on one of these lists, rather than try and remove the IP from the blacklists, it might be quicker to create a new virtual server (which will assign a new IP…

Read more [...]

IIS 7 Creating New Session When Switching to HTTPS

By default IIS 7 will generate a new session when accessing a site over a secure HTTPS connection. This can cause issues if you are switching between a HTTP and a HTTPS connection when dealing with a site that handles logged in users via sessions. Luckily this is a easy fix. Open up the Internet Information Services (IIS) Manager, and select the web site you wish to change the setting on: Open up the “ASP” feature: Expand the “Session Properties”…

Read more [...]

Restart a IIS7 Web Site via the Command Line

This guide shows you how to restart a specific IIS 7 web site from the command line. This can come in very handy if you need to automate restarting the site. IIS 7 includes a command line management tool called “appcmd.exe” which allows you do do a wide range of tasks, including stopping and starting specific websites. The “appcmd.exe” program isn’t in the ‘PATH’ environment variable, so you must run it from within the correct folder, or add the folder…

Read more [...]

Set the X-Forwarded-For header on a nginx reverse proxy setup

When using Nginx as a reverse proxy you may want to pass through the IP address of the remote user to your backend web server. This must be done using the X-Forwarded-For header. You have a couple of options on how to set this information with Nginx. You can either append the remote hosts IP address to any existing X-Forwarded-For values, or you can simply set the X-Forwarded-For value, which clears out any previous IP’s that would have been on…

Read more [...]

Changing network interface numbers on Ubuntu

Have you ever replaced a network card on Ubuntu and found that it is now appearing as eth1, instead of eth0? Or simply wanted to swap the numbering of two network interfaces? This guide shows you how to do just that. Ubuntu uses the udev dynamic device management system, and automatically keeps track of what net card is assigned to what interface name. Udev allows for device name persistance using rule files, which are stored in “/etc/udev/rules.d/”. “70-persistent-net.rules” is the…

Read more [...]



Page 23 of 38« First...10...19202122232425262728...Last »