Upload website to the Internet and edit web.config
Uploading a website online, as you know in the previous part, we use the File Manager tool provided by hosting somee.com. In addition, you can also use software that supports Upload source to hosting such as: FTP, File Zilla, Total Command... Here we use File Zilla, to upload source to hosting. Download here. File Zilla
We get the hosting's FTP login information as follows. On the left, click on the database you just created above.
On the right hand side, we pay attention to some of the following information

On the right hand side, we pay attention to the following information:

- Login name: User name to log in to manage the database
- Login password: database management login password
- Connection string: database connection string, used to connect the database with your web application, copy this section to keep.
- FTP username: FTP login account name.
- FTP password: FTP login password, please note that this password is the same as the password you initially registered for hosting.
- After installing the FTP software, start the software and enter the connection information as follows.

- Host: name of the website you registered
- Username and Password: are the FTP accounts that hosting somee.com provides to you.
- After entering all the information and pressing Enter, you will see 2 folders: Protected.nhatnghe.somee.com and www.nhatnghe.somee.com (the name nhatnghe here is the original account name you registered, if you register any name, it will be that name. For example: when I initially registered the account name as demo, I will see 2 folders as Protected.demo.somee.com and www.demo.somee.com). You must upload all source code of the website to the folder www.xxx.somee.com – xxx: is your account name, in this example, I upload to the folder www.hiepsiit.somee.com
- Download sample website source code here: bookstore.rar


After successfully uploading the entire source of your website, go back to the Control panel of the hosting, go back to the File Manager section. We find the web.config file and select Edit Text to edit the connection string accordingly

In the Edit window that appears, replace the connection string with the connection string you see when viewing the FTP account above


Run the website and check the results
You access the registered website address. In this example it is http://www.hiepsiit.somee.com/List_Book.aspx. The data has been uploaded successfully.

Did you find this article helpful?
Support the author so they can write more quality articles!