User1420911473 posted
Hey, i have created this website using ASP.net for a university project.
The website works as it should when i launch via Visual studio 2019 locally.
But when i try to publish it, to my Hostgator server, it treats it as a folder and not as a website.
So am obvious doing something wrong, i have tried to read tutorials and forum post, to figure it out, but have not.
Am using my own server, where am trying to add it as a sub page, like www.website.com/project
So here is how am doing it.
- I use visual studio 2019's publish function, using a costem profile
- Publish method: FTP
- Server: ftp.websitename.com
- public_html/project
- Passive mode: on
- Destination URL: websitename.com/project
Setting
- Delete all existing files prior to publish: on
- Precompile during publishing: on
- Exclude files from the App_Data folder: on
So am not sure what i do wrong, or if the thing am trying is even possible.
Is there something i need to install on the server, or do i need to add some specific
code some where in my code ? Is one of the setting wrong ?