Uploading Your Website
Upload your files
- Open DirectAdmin and select your domain.
- Open the file manager and go to the domain's document root, normally
domains/your-domain/public_html. - Back up the current website before replacing anything.
- Upload your files into
public_html. If you upload an archive, extract it there. - Check that the main file is directly inside
public_htmlrather than another folder inside it. - Open the domain and test the homepage and internal links.
A static website usually starts with index.html, while PHP applications often use index.php. Follow the application's own setup steps if it also needs a database or configuration file.
Troubleshooting
If you still see the default page, the files may be in the wrong directory or the domain may point to another server. For a blank page or server error, check the application and PHP error logs.
Keep passwords and backup archives outside public_html so visitors cannot download them.
More details: DirectAdmin upload guide.
Was this article helpful?