Websites
Upload your website
Put your site's files in the right folder over SFTP and see them live straight away.
Learning path · step 11 of 20
On this page
Your website's files live in one folder per domain: /sites/<domain>/public. Whatever you put there is what visitors see. You upload with any SFTP app, such as FileZilla, WinSCP or Cyberduck.
Before you start#
- Add the website. Its folder is created during setup.
- Connect with SFTP: create your SFTP password under Files (SFTP) and set up your SFTP app. You need the host
sftp.finitehost.com, port2222and your user name (your subscription ID, for examplet3d2ca2b860). - Have your website files ready on your computer.
Upload the files#
- Connect. Open your SFTP app and connect. You start in the
/sitesfolder, which holds one folder per website. - Open the public folder. Go into
acme.in, thenpublic. The full path is/sites/acme.in/public. - Upload. Drag your site's files from your computer into
public. Upload the contents of your site folder, so thatindex.htmlorindex.phpsits directly insidepublic, not inside another sub-folder. - Open the site. Visit
https://acme.in(orhttp://acme.inif HTTPS is not on yet). Changes are live as soon as the upload finishes.
Text
/sites/acme.in/public/
index.php <- the home page (or index.html)
about.html
css/style.css
images/logo.pngStatic sites and PHP sites#
- Static sites (HTML, CSS, JavaScript, images): the home page is
index.html. - PHP sites: the home page is
index.php. If both exist,index.phpwins. - Pretty URLs (such as
/products/blue-shirt): when no file or folder matches the address, the request is passed to/index.php. WordPress, Laravel'spublicfolder and most PHP frameworks work this way without any extra setup.
Things that work differently from cPanel hosts#
.htaccessfiles are ignored. FiniteHost uses the nginx web server, not Apache. Redirects and rewrite rules in.htaccesshave no effect. Pretty URLs still work (see above). If you need a redirect, do it in PHP, for exampleheader('Location: https://www.acme.in/new-page', true, 301);.- Hidden files are not served. Any file or folder whose name starts with a dot (such as
.env,.git,.htaccess) cannot be opened from the web. Only/.well-known/is allowed. This protects secrets you may have uploaded by accident. - Uploads through your site (forms, WordPress media) can be up to 64 MB per request: PHP's
upload_max_filesizeandpost_max_sizeand the web server all allow 64 MB. See PHP settings. Larger files are best uploaded over SFTP.
Troubleshooting#
- 403 Forbidden on the home page: there is no
index.htmlorindex.phpdirectly insidepublic. You may have uploaded a folder insidepublic; move its contents up one level. - 404 Not Found: the file name or path does not match. Names are case-sensitive:
Logo.pngandlogo.pngare different files. - I see an old version: your browser or the CDN may have the old copy. Reload with Ctrl+F5, or rename the changed file. See CDN and caching.
- More fixes: Site shows 404 or 403.
What's next#
Your progress is saved in this browser only.
Was this helpful?
Still stuck?
Email support@finitehost.com with your subscription ID (it starts with t, shown on the panel's Dashboard) and what you tried. A person replies, usually within one business day.
Last updated 27 October 2026. Found something wrong? Tell support@finitehost.com.