Site files must be in domains/yourdomain/public_html. When a visitor opens the domain, the index.php or index.html in that folder is served.
- In DirectAdmin, open System Info & Files → File Manager.
- Go to the
domains → yourdomain → public_htmlfolder. - Delete the default
index.htmlfile. - Upload your site as a .zip archive with Upload.
- Right-click the archive, choose Extract and unpack the files into
public_html. - If the files were extracted into a subfolder, move them directly into
public_html.
For large sites (hundreds of MB), FTP is easier — see Connecting via FTP.