Manual Install of WordPress on 1and1 Web Host
If your hosting provider doesn't support simple scripts or Fantastico then you will need to do a Manual Installation.
Note: Your host/package will need to support PHP and MYSQL. If you are using 1and1 UK then the Linux starter package or above is the one you will need.This install requires that you:
- Create the database
- Install the WordPress files
- Run the WordPress install script.
Also Please note that the admin interface on 1and1 might change, and hence some of the screenshots may not be exactly what you see I would be grateful if you would use the contact form and let me know so that I can correct them.
Creating a MYSQL Database
The exact procedures will differ depending on the control panel you are using to create the database. However you need to:- Create the database
- Create a new user and give that user all privileges on that database.
- Make a note of the database name, user name and password as they are used in the configuration file later.
for setting up and administering the Database. Access is via the MySQL admin icon.
When you create a new database, the database name is automatically generated and a database user is automatically assigned, all you need to do is to assign a password.
There is no need to give the user any permissions as it is done automatically in this case. You need to make a note of the username, database name and the password as they are needed.
The information can be read from the screen (see screenshot below).
Installing the WordPress files
You will need to download, unzip, edit the configuration files and then and copy the Wordpress files to the appropriate folder on the 1and1 server. You can download the latest Wordpress files from the Wordpress.org site.After you have unpacked the Wordpress files you need to create a wp-config.php file. This you do by copying the wp-config-sample.php and renaming it to wp-config.php. You then need to edit the wp-config.php .
So open the file in Wordpad ( Note notepad may not display the file correctly hence the use of wordpad), and change the database name and database user and password to match what you created in the MySQL configuration earlier.
In my case I'm using the database name blogbase and the database user called wordpress and the password of password.
So my edited file looks like this Once you have edited it save it as wp-config.php.
Note: make sure its not called wp-config.php.txt by mistake.
Note: on 1and 1 the server is not local host but has the form- db3018.oneandone.co.uk.
However before you copy the files you need first to decide where you are going to install WordPress.
You have two options:
- In the root folder – Most common if this is the only install on this domain name.
- create a subfolder. –Used if you intend to host multiple sites or you are installing on a subdomain.
This does involve a little extra work as you will also need to ensure that your domain name is mapped to the sub folder and not the root folder, which it will be by default. When you register a domain name it will associate that domain name with the root directory.
If you do this and decide at a later date to host multiple sites on the same package (multiple domain name hosting) , then you will have to do some tricky rearrangement.
It is better to prepare for this possibility by creating a sub folder and using that as the root of your site. My site (build-your-website-.co.uk) is located in a folder called byo and I use other folders for my other sites.
This is how the file /folder structure looks like (notice the folders):
and here are the domains and the folders they are pointing
to:
From the above you can see that the files for the blog site blog.build-your-website.co.uk are located in the bywblog directory (first entry above).
So before you can upload your WordPress files you need to create the desired folder structure on your web space. In The video I create a directory called WordPress, into which I upload the WordPress files.
You can call the folder what ever you want Usually an abbreviation of the domain name makes more sense.
The Filezilla ftp client is free and you can download it here.
Now You can FTP the Wordpress files to the web server. This may take a little while as in total there are approx 7MB of files/directories. Now you need to ensure that the domain name is pointing to the correct folder.
So you logon to 1and1 hosting account and go to domain management and edit the domain to point to the new folder.
Running The Install script
Now you are ready to run the install, which simply involves running a php script on the server. So open a web browser and type: http://websitedomainname/wp-admin/install.php The install involves two simple steps at the end the you will be given a username and password that you can use to logon and configure your Wordpress installation.Make a note of the password!! Here are the screenshots of the steps
Here is the summary page with the logon instructions. The login details will also be emailed to the email address you
provided earlier.
Installation Problems and Solutions 1. Blank page when you try and access the home page but you can access the admin page.
Usually caused by the presence of the default.htm file in the installation folder. The default.htm is the parking page placed there by 1and1 when you create the new domain name. You need to delete it using the ftp client. 1. Error when running the script.
Usually caused by incorrect config.php the most common one being that it can't find the database. Check the settings in the config.php file and upload it again.
A php error or error 500 Internal server error is usually caused by the fact that wordpress 3.0 requires php5 and 1and1 is using php4.
To correct this you need to add a few lines to the .htaccess file.
Create a .htaccess file and enter the following using notepad or another text editor (not Word). AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php Upload the .htaccess file into the root folder (the one that contains the index.php, config.php files.
Watch on Youtube and don't forget to comment
