Home > Uncategorized > Restarting stuff with Putty

Restarting stuff with Putty

Restart machine:

/sbin/reboot

Restart Apache

/etc/init.d/apache2/restart

Check IP addresses:

ifconfig

This was all trying to add two new IP addresses to Apache, on a Ubuntu box over Putty. I found that I needed to edit /etc/apache2/ports.conf and add
Listen <IP>:80 for the new IP addresses.

About 2 days downtime trying to figure it out, but got it eventually.

Advertisement
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: