06Web hosting & WordPress
Install WordPress – step-by-step guide and first setup
Install WordPress at Nexthosting with one click or by hand and set it up properly: language, time zone, permalinks, search engine visibility, users and roles.
In short
With WordPress hosting, WordPress is already installed – you just log in. With Webspace, you install WordPress in the web panel with one click (new website → Install an app → WordPress) or by hand using the files from wordpress.org. Afterwards, take ten minutes for the first settings: language, time zone, permalinks, search engine visibility and a secure admin login.
The WordPress admin area in these examples is set to German, so menu names appear in German with the English meaning in parentheses at first use.
Which way suits you?
Section titled “Which way suits you?”WordPress hosting: logging in
Section titled “WordPress hosting: logging in”With the WordPress plans, WordPress is already set up with WP Toolkit. Here is how to get into the admin area:
- From the web panel: Open the website in the web panel. In the website’s WordPress section (WP Toolkit) you can log in to the WordPress admin with one click, without a password.
- Directly: Open
https://your-domain.com/wp-admin, or, as long as the domain has not been switched over yet,https://name-xxxx.staging.nexthosting.app/wp-admin, and log in with your WordPress login details.
Then continue with First settings.
Webspace: installing WordPress with one click
Section titled “Webspace: installing WordPress with one click”- In the web panel, open Websites and click Add new.
- Choose Install an app and then WordPress.
- Enter the domain the site should run on. Without a finished domain, it is reachable via the preview address.
- Set the admin login details:
- Username: not
admin, and not your club or company name. Attackers try these names first. - Password: long and unique, ideally from a password manager.
- Email: an address you really read. WordPress sends error messages and password links there.
- Username: not
- Confirm. The web panel creates the files, the database and
wp-config.php. - Open the site via the preview address and log in at
/wp-admin.
The one-click way has advantages: the database and login details are created automatically, and the installation immediately appears in WP Toolkit, where you manage updates, plugins and themes in one place.
Installing WordPress by hand
Section titled “Installing WordPress by hand”This makes sense if you need a specific version or want to understand exactly what happens.
- In the web panel, create an empty website (Start from scratch); see Create a website.
- Under Databases, create a database with a user and note the database name, user, password and host. See Databases and phpMyAdmin.
- Download the current version from wordpress.org.
- Upload the ZIP to
public_htmlin the file manager and unpack it there. Move the contents of thewordpressfolder directly intopublic_html(otherwise the site ends up under/wordpress). Alternatively use SFTP/FTP: Uploading files. - Open the site in the browser. The installation wizard asks for the database details and writes
wp-config.php. - Enter the site title, admin user, password and email and click WordPress installieren (Install WordPress).
If you have SSH (Webspace in every plan, WordPress hosting from Basic), it is faster. You create the database beforehand in the web panel.
cd ~/public_htmlwp core download --locale=de_DEwp config create --dbname=DATABASENAME --dbuser=DATABASEUSER --dbpass='PASSWORD' --dbhost=localhostwp core install --url=https://your-domain.com --title="My Club" \ --admin_user=board_maria --admin_email=maria@your-domain.com --prompt=admin_passwordwp language core install de_DE --activateThe database host is usually localhost; what counts is the value the web panel shows you next to the database. --prompt=admin_password asks for the password so that it does not end up in your shell history. Use a different --locale (for example en_US) if you want the admin area in another language.
If the wizard cannot write the file, copy wp-config-sample.php to wp-config.php and enter the database details:
define( 'DB_NAME', 'databasename' );define( 'DB_USER', 'databaseuser' );define( 'DB_PASSWORD', 'password' );define( 'DB_HOST', 'localhost' );define( 'DB_CHARSET', 'utf8mb4' );
$table_prefix = 'wp_';Also replace the lines with AUTH_KEY, SECURE_AUTH_KEY and so on with new random values from the WordPress key generator.
What a WordPress installation looks like
Section titled “What a WordPress installation looks like”Directorypublic_html/ the folder visitors see
Directorywp-admin/ admin area, change nothing in here
- …
Directorywp-includes/ WordPress core, change nothing in here
- …
Directorywp-content/ your area
Directoryplugins/ installed plugins, one folder per plugin
- …
Directorythemes/ installed themes
- …
Directoryuploads/ images and files from the media library, by year/month
- …
Directorylanguages/ language files
- …
- wp-config.php database access and settings, keep it secret
- .htaccess rules for pretty links and redirects
- index.php
- wp-login.php
On updates, WordPress replaces wp-admin and wp-includes completely. So never put your own changes there; put them in a child theme, a plugin or the settings. For backups, wp-content and the database matter most.
First settings after installation
Section titled “First settings after installation”Log in at /wp-admin and work through this list:
- Language and time zone: Einstellungen (Settings) → Allgemein (General). Set the language to your preference and the time zone to a city such as “Berlin” (not “UTC+2” – otherwise daylight saving time will be wrong); choose the date format you like.
- WordPress address and site address: also under Allgemein. Both should start with
https://. Only change them once your domain already points to the website; otherwise you lock yourself out (help: Solving WordPress problems). - Permalinks: Einstellungen → Permalinks → choose “Beitragsname” (Post name) and save. This gives readable addresses like
/club-festival-2026/instead of/?p=123and writes the.htaccessfile. - Search engines: While you are building the site, tick “Suchmaschinen davon abhalten, diese Website zu indexieren” (Discourage search engines from indexing this site) under Einstellungen → Lesen (Reading). Remove it again before going live – otherwise Google will not find you.
- Home page: Under Einstellungen → Lesen, decide whether the home page shows the latest posts or a static page.
- Delete sample content: Remove the post “Hallo Welt!” (Hello world!), the “Beispiel-Seite” (Sample page) and unused plugins (e.g. “Hello Dolly”).
- Comments: Under Einstellungen → Diskussion (Discussion), turn off comments if you do not want any, or set “Kommentar muss manuell genehmigt werden” (comments must be approved manually).
- Profile: Under Benutzer (Users) → Profil (Profile), choose a public name that is not your username.
- Theme: Choose a well-maintained theme from the official directory (see Maintaining WordPress) and delete unused themes except for one default theme.
The default WordPress .htaccess
Section titled “The default WordPress .htaccess”WordPress writes these rules when you save the permalinks. If they are missing, only the home page and the admin area work and all other pages return 404:
# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]RewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule># END WordPressPut your own rules before # BEGIN WordPress, because WordPress overwrites the block in between. More in .htaccess basics.
Users and roles
Section titled “Users and roles”Give each person their own login instead of sharing one admin password. You create new users under Benutzer → Neu hinzufügen (Add new).
| Role | Can | Good for |
|---|---|---|
| Administrator | everything, including plugins, themes, users | one or two responsible people |
| Editor | edit and publish all posts and pages | press officer, content team |
| Author | write and publish their own posts | regular writers |
| Contributor | write their own posts but not publish them | guest authors, interns |
| Subscriber | only their own profile | members’ areas |
Always assign the smallest role that is enough. Delete logins nobody needs any more – for example an agency’s login after the project ends.
Frequently asked questions
Section titled “Frequently asked questions”I forgot the admin password.
Section titled “I forgot the admin password.”On the login page, click “Passwort vergessen?” (Lost your password?). If no email arrives, you can log in with one click via WP Toolkit in the web panel and set a new password under Benutzer. With SSH it also works like this: wp user update USERNAME --prompt=user_pass.
Should I run WordPress with or without www?
Section titled “Should I run WordPress with or without www?”Both work. Pick one variant and enter it for the WordPress address and site address. WordPress then redirects the other variant automatically.
Can I use WooCommerce?
Section titled “Can I use WooCommerce?”Yes. For a shop, Nexthosting recommends at least WordPress Pro. Install WooCommerce like any other plugin and set up Redis as the object cache (Maintaining WordPress).
Can I install WordPress in a subfolder?
Section titled “Can I install WordPress in a subfolder?”Technically yes, but we recommend a separate website for each WordPress installation. Then updates, backups, staging and SSL have no special cases.