Start for free – your first 3 months are freeSee the offer

Files, SFTP and SSH

Upload a finished website to your web hosting

Do you have a website in HTML or PHP from a web designer? Here is how to upload the files, test them on the preview address and connect your domain.

3 min readUpdated

On this page
  1. Before you start
  2. Put the website online
  3. Checklist if something does not work
  4. Frequently asked questions
  5. Can I upload a zip file and unpack it on the server?
  6. Why do I still see the old website on my domain?
  7. Can I have several websites on the same web hosting?

If you have received a finished website from a web designer or made it yourself, the files simply need to be in the right folder on your web hosting. It usually takes 10–20 minutes. If you use WordPress, see move WordPress to Sitewig instead.

Five steps: unpack, upload to sites/main/public, test on the preview address, add domain, online at yourcompany.com
From a folder on your computer to a website on your domain

Before you start

  • You need web hosting at Sitewig and an FTP user.
  • If you received the website as a zip file, unpack it on your computer first.
  • Find the start page. It is called index.html or index.php.

Put the website online

  1. Step 1: Connect to the web hosting

    Use an FTP program such as FileZilla, or open File manager under Web hosting → Files.

  2. Step 2: Open the public folder

    Go to sites/main/public. This is the folder for your main site. If there are already files there that you do not need, you can delete them.

  3. Step 3: Upload the files

    Upload the contents of the website's folder – all files and subfolders such as css, js and images. The start page must be directly in public.

  4. Step 4: Create a database if the website uses one

    If the website uses a database (typically PHP websites), create it under Web hosting → Databases and import your data. Then update the connection details in the website's configuration file. The host is localhost. See databases and PHP.

  5. Step 5: Test on the preview address

    Open WordPress → Overview, click the website main and open Preview URL under Details. Check the home page, menus, images and forms.

  6. Step 6: Connect your domain

    Click Add domain on the website's page and choose your domain. If you do not have a domain at Sitewig yet, see use a domain you already own. Free SSL is set up automatically when the domain points to Sitewig.

Checklist if something does not work

  • The home page shows an error: index.html or index.php is not directly in public. See the folder structure.
  • Images or CSS are missing: links in the code point to your own computer, e.g. C:\Users\…, or upper and lower case do not match. The web server distinguishes between Logo.png and logo.png.
  • "Cannot connect to the database": check the database name, username, password and the host localhost.
  • Redirects in .htaccess do not work: Sitewig uses the nginx web server, which does not read .htaccess. See hidden files and errors.

Frequently asked questions

Can I upload a zip file and unpack it on the server?

The safe way is to unpack the files on your computer and upload the contents. If you are used to the command line, you can also work with the files via SSH.

Why do I still see the old website on my domain?

The domain may still point to your old provider, or your browser may be showing a saved copy. Check that the domain is connected to the website, and try in a private browser window.

Can I have several websites on the same web hosting?

Yes. Create an extra website under WordPress → Overview with Create website. It gets its own folder sites/<name>/public and its own domains.

Didn't find the answer?

Personal support at support@sitewig.com – chat and email, reply within 24 hours.