Deploy mvc application on ftp
-
Hi. I have created an ASP.NET MVC 4 application and I published it on a ftp server. When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there. Can anybody tell me if I have to do something else after publishing the project? I just created a project and I uploaded to the server to see if it works.
-
Hi. I have created an ASP.NET MVC 4 application and I published it on a ftp server. When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there. Can anybody tell me if I have to do something else after publishing the project? I just created a project and I uploaded to the server to see if it works.
Quote:
I have created an ASP.NET MVC 4 application and I published it on a ftp server.
Are you sure? You actually publish your website through FTP services, you cannot publish it on FTP server. FTP is used to transfer the files.
Quote:
When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there.
Indeed, that is what happens when you use donkey where you want a horse! Anyways, as I have already told you FTP server is just used to share the files on the network, thus the name of the protocol (and the service) File Transfer Protocol[^]. The protocol which is used to host or share the web pages is HTTP (Hyper-text transfer protocol[^]). HTTP is used by hosting services (you should get a hosting company for a website, not for file transfering). When you read the pages for an FTP, you will always get the files in a list. Such as directories and files are always present in a hierarchy. HTTP in opposite, returns the content of that page (index, or default; depends). They are separate protocols, used for separate needs! :-) I hope I made myself clear enough.
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
Quote:
I have created an ASP.NET MVC 4 application and I published it on a ftp server.
Are you sure? You actually publish your website through FTP services, you cannot publish it on FTP server. FTP is used to transfer the files.
Quote:
When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there.
Indeed, that is what happens when you use donkey where you want a horse! Anyways, as I have already told you FTP server is just used to share the files on the network, thus the name of the protocol (and the service) File Transfer Protocol[^]. The protocol which is used to host or share the web pages is HTTP (Hyper-text transfer protocol[^]). HTTP is used by hosting services (you should get a hosting company for a website, not for file transfering). When you read the pages for an FTP, you will always get the files in a list. Such as directories and files are always present in a hierarchy. HTTP in opposite, returns the content of that page (index, or default; depends). They are separate protocols, used for separate needs! :-) I hope I made myself clear enough.
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~