Publish to a PHP server (web hotel)
Already have a web hotel, like one.com? Upload one file once, then publish your site to it straight from Flipsite. No FTP.
Many people already pay for a web hotel: a hosting plan at one.com, Loopia, Hostinger or a similar company, often together with their e-mail. If your web hotel has PHP, and almost all of them do, Flipsite can publish your site straight to it.
You do this once: download a file from Flipsite and put it on your web hotel. After that, every time you click Publish in Flipsite, your site is updated. You don't need FTP or ZIP files.
Before you start
- The login to the control panel of your web hotel, the page where you manage your hosting.
-
Your domain, for example
www.example.com, connected to the web hotel. If your domain already shows a site from the web hotel, it is connected. - About 10 minutes.
Step 1: Choose PHP Server in Flipsite
-
1Open your site in Flipsite.
-
2Open Settings → Publish.
-
3Click Select on PHP Server. If another method is chosen, click Change publish method first.
-
4In Site URL, write the address of your site, for example
https://www.example.com, and click Save.
Step 2: Download the deploy script
Click Download flipsite-deploy.php. Your computer saves a file called flipsite-deploy.php, usually in your Downloads folder.
The file has a secret key in it that only works for your site. It makes sure that only Flipsite can change your site. Don't send the file to anyone.
Step 3: Upload the file to your web hotel
-
1Log in to the control panel of your web hotel.
-
2Open the File Manager. It can also be called Files, File management or Web space.
-
3Open the folder of your website. It is often called
public_html,www,htdocsor has the name of your domain. If you see a file calledindex.htmlorindex.php, you are in the right folder. -
4Upload
flipsite-deploy.phpto that folder. Most file managers have an Upload button, or you can drag the file into the window.
In Settings → Publish, Flipsite shows the address where the file should be, for example
https://www.example.com/flipsite-deploy.php. If you open that address in your
browser, you see a short message from the script. That means it is in the right place.
Step 4: Test the connection
Go back to Settings → Publish in Flipsite and click Test connection. Flipsite checks that the file is there, that the secret key matches and that your web hotel can download and unpack your site. Nothing on your web hotel is changed.
When you see Connected, you are done. Click Publish to publish your site.
If Test connection finds a problem
| The message says | What to do |
|---|---|
| Flipsite can't find the deploy script | The file is not in the right folder, or the Site URL is wrong. Check the address that Flipsite shows in Settings → Publish, and upload the file to the folder of your website. |
| The secret does not match | The file on your web hotel is an old download. Download the file again and upload it. Replace the old file. |
| Your web hotel shows the deploy script instead of running it | PHP is not turned on for the folder. Ask your web hotel to turn on PHP. |
| PHP on the server has no zip extension | Ask your web hotel to turn on the PHP zip extension (ZipArchive). |
| PHP can not write in the folder of the site | Ask your web hotel to let PHP write in the folder of your website. |
| The server can not download files | Ask your web hotel to turn on curl or allow_url_fopen for PHP. |
| The request is too old | The clock of your web hotel is wrong. Contact your web hotel. |
You can copy the message and send it to the support of your web hotel. They know what it means.
What happens when you publish
Flipsite sends your site to the deploy script. The script first unpacks the new site next to the old one. Only when that worked, it replaces the old files. If something goes wrong, your old site stays as it was, and Flipsite shows what happened.
Publishing deletes the old files of your site, but it never deletes the deploy script or the files of your web hotel,
like .htaccess and .well-known. Do you have
other files in the same folder that must stay, for example a folder with documents? Open flipsite-deploy.php in a text editor and add their names to the list $flipsiteKeep at the top of the file.
Do you think someone else has the file?
Click Make a new secret key in Settings → Publish. Then download the file again and upload it to your web hotel. The old file stops working.
Do you have the old flipsite.php?
Before November 2026 the deploy script was called flipsite.php and had no secret
key. It still works, but replace it: download flipsite-deploy.php and upload it to
the same folder. The next time you publish, the old file is deleted.
Developers can read the script and how it works on GitHub.
Frequently asked questions
Related articles
Set up redirects
Flipsite adds redirects when an address moves and suggests them when a page goes. How to add your own, find the addresses that need one, and keep your rankings.
Publish your site
Choose where your site is published, set its address and publish it for the first time.
Download your site as a ZIP file
Download your site as a ZIP file and upload it to any host yourself.