Muffinresearch Labs by Stuart Colville

Moved to new server | Comments (5)

Posted in Muffin Research Labs on 18th November 2005, 5:01 pm by Stuart

Last night I moved muffinresearch.co.uk over to a new webserver hosted by Amenworld. Amenworld are currently unbeatable on price/value for dedicated servers and I’ve already used their services before for a client so I wouldn’t hesitate in recommending them.

To make the move without downtime, I copied the files from my old server to the new one and added the ip address of my new server to my hosts file for the domain muffinresearch. This meant I could point my browser at www.muffinresearch.co.uk and be looking at the new server. This works because every operating system checks it’s hosts file before querying a DNS server.

The transition to the new box went fairly smoothly once I’d got to grips with Plesk’s vhost.conf set-up. The vhost.conf file (/home/httpd/vhosts/<domain-name>/conf/vhost.conf) is a temporary location for apache directives that are written to the main configuration file (/home/httpd/vhosts/<domain-name>/conf/httpd.include) when you issue an update command.

If the vhost.conf doesn’t already exist you will need to create it first as root(touch /home/httpd/vhosts/<domain-name>/conf/vhost.conf). Next you can add your apache directives. Once you have saved the file you will need to merge the changes to the main configuration with this command:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>

To complete those changes you also need to restart apache. I found it was preferable to do this from the command-line rather than via Plesk so that any error messages are visible.

service httpd restart

Should you need to create a domain alias to an existing domain, vhost.conf makes this very easy. Simply add he following to your vhost.conf:

ServerAlias alias1.domain.tld

Remember, every time you make a change to vhost.conf you need to merge the changes and restart apache.

Following the move there may be the odd screw-up so if you spot anything odd please let me know via the contact form.

Post Tools

Comments: Add yours

1. On December 8th, 2005 at 12:43 pm Nick Elliott said:

DO NOT USE AMENWORLD!!! I have had no end of problems with webmail and webpro for over two years….now at last changing hosts. Really not impressed!

2. On December 8th, 2005 at 1:02 pm Stuart said:

@Nick: I’ve had no issues or complaints but then I am running dedicated servers, which means I am responsible for pretty much everything apart from the hardware.

3. On March 29th, 2006 at 11:57 am Suzanne said:

I must agree with Nick Elliot. Amenworld have been a disaster for me. I launched a new business website last week (cost £2000) and sent out marketing materials costing another £2000. Today, the server is still down - the 5th day this week and no one can access my site. Avoid them like the plague

4. On March 29th, 2006 at 12:23 pm Stuart Colville said:

@Suzanne: I feel your pain, I have recently moved to Dreamhost as a result of hardware failure causing crashes in the Amenworld server. See this post for more info

5. On June 7th, 2006 at 6:33 am J Billings said:

Currently they are hosting several spammers, and are completely unresponsive. Unless you’re a spammer (!), I suggest you go with a more legitimate company.







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Standalone mac battery charger|(1)

Got a spare mac battery? I’ve often wondered why up until now no-one’s produced a standalone charger so that you can charge batteries without having to plug them into the mac. Fortunately Fastmac.com have produced a standalone charger that allows you to do just that. and it’s compatible with iBooks, Powerbooks, macbooks and Macbook Pros. It’s also 110/200v. Exactly what I was looking for!

Django Admin Ominigraffle Stencil|(0)

Colleague Alex Lee has created a nice stencil for omingraffle with the Django Admin UI components, perfect for wireframing customised admin screens. For more details and to download the stencil see Alex’s Blog csensedesign.co.uk

Photos on Flickr

© Copyright 2004-08 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by 1&1 This page was baked in 0.717s.