Skip to main content

Share your website

Let someone else see the website you've made. You can send a link they open in a browser, or a ZIP they can keep and edit.

These steps are the same in Community (free) and Phoenix Pro. They work for websites made from HTML, CSS, JavaScript, and images.

1. Save and check your website​

  1. Open your project in Phoenix Code.
  2. Choose File > Save All.
  3. Open index.html and show Live Preview with the lightning bolt.
  4. Check that the home page and its pictures appear.

If you're using the practice website, you should see Trail Notes and the Home, About, and Contact links.

2. Choose what to send​

Choose Send a link for a quick preview, Send a ZIP for editable files, or Keep it online for a permanent website address.

Publish a temporary preview​

This makes your website public for three days. Keep only files you want to share in this project.

  1. Select index.html in the file list.
  2. Find the publish button (three connected dots) in Phoenix Code's right-hand toolbar. Hover over it: the tooltip says Click to publish and share this site.
  3. Click it to open Publish and Share Website?.
  4. Check the destination shown in the dialog, then choose Publish.
  5. Wait for the published page to open in your browser.
  6. Copy the address from that browser window and send it to the person who should view your site.

They should be able to open your website without opening Phoenix Code. Send this new address, rather than the address of your editor or a local preview.

To show a later change, save it in Phoenix Code. While the publishing session is active, the editor syncs the changes. Reload the published page to check them. If you have restarted the editor, follow the publishing steps again.

3. Check what the other person receives​

For a link, open it on another device. For a ZIP, extract it into a new folder and open its index.html.

Check these three things:

  • The home page appears.
  • Every picture loads.
  • The page links open the right pages and let you get back to Home.

Your website is ready to share.

Need help?​

I already have Hostinger or another web host

Use your host's File Manager to upload the website files. On Hostinger web hosting, open the site's public_html folder and put index.html directly inside it, next to the other pages, CSS, and images.

If you upload a ZIP, extract it there. Check that it hasn't left index.html inside an extra first-website folder. Keep a backup before replacing an existing website.

See Hostinger's File Manager instructions for the upload steps. This method is for hosting that accepts your own files; a site managed by its AI Website Builder uses a different workflow.

If your host gives you FTP or SFTP details, you can use a transfer client to upload the same files. After editing in Phoenix Code, upload the changed files again.

The website opens, but its pictures or styles are missing

Check that you sent the image folders and CSS files as well as the HTML pages. Keep the same folder arrangement as in your project. Match capital letters in filenames exactly.

The other person can't open the link

Copy the address of the published page. An address containing localhost only points to the device opening it. A Phoenix Code editor address opens the editor.

The built-in shared preview lasts three days. If it has expired, publish again or choose Keep it online above.

Publishing says my project is too large

The built-in preview supports up to 500 files. Make a folder containing only the website files you want visitors to see. Leave dependency folders such as node_modules out of that copy, then open and publish it.

A PHP application or a Python web server needs hosting that can run that program. The static-site steps here are for HTML websites.