A step-by-step guide to uploading your website files and connecting your database in DirectAdmin.

Step 1: From your RealJossy Client Dashboard, go to Hosting Services and click My Services.




Step 2: Locate the hosting service you want to manage and click View.


Step 3: Click Login to Control Panel.


Step 4: You will be redirected to your DirectAdmin Control Panel.




Step 5: Scroll down to the System Info & Files section, then click File Manager.





Step 6: Under the domains folder, locate and open the domain or subdomain where you want to upload your website.



Step 7: Open the public_html folder. This is where your website files should be uploaded.




Step 8: Remove the default index.html file from the public_html folder before uploading your website files.




Step 9: While inside the public_html folder, click Upload at the top of the File Manager.





Step 10: After selecting your website ZIP file, click START UPLOAD to upload it to the public_html folder.




Step 11: Select the uploaded ZIP file , then click Extract to unpack the website files inside the public_html folder.




Step 12: After extracting the ZIP file, confirm that the website files are directly inside the public_html folder.


Step 13: Return to your DirectAdmin Dashboard and click Databases under Account Manager.




Step 14: Enter a Database Name, Username, and a strong Password, then click CREATE to create the database.




Step 15: Copy and securely save the Database Name, Username, and Password, as you will need them to connect your website to the database.



Step 16: Return to the DirectAdmin Dashboard, scroll down to Extra Features, and click phpMyAdmin.



Step 17: In phpMyAdmin, select the database you created from the left-hand menu, then click the Import tab at the top.



Step 18: Click Choose File, select the database.sql file from your computer, then scroll down and click Import to upload the database tables and data.




Step 19: Return to File Manager and open your website’s configuration file (config.php) to enter the database details you created earlier.



Step 20: Enter your Database Name, Database Username, and Database Password in their corresponding fields in the configuration file, then save your changes.



Step 21: Open a new browser tab, enter your website’s domain name, and visit the website to confirm that it loads correctly and connects to the database.





Write Your Comment