如何将特定页面设置为默认URL [英] How to set particular page as default url

查看:168
本文介绍了如何将特定页面设置为默认URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用podk经济的godaddy在线部署我的asp.net项目。如何在键入xyz.com时设置默认URL,例如xyz.com/abc/home。在使用visual studio时,我将主页设置为默认页面,它在开发过程中完美运行。但是在godaddy / online上部署之后,只需输入xyz.com,就会在'/'应用程序中显示

I have deploy my asp.net project online by using plesk economy of godaddy.How to set default url such as xyz.com/abc/home at the time of typing just xyz.com . At the time of working on visual studio ,i set the home page as default page and it work perfectly during development. But after deployment on godaddy/online ,typing just xyz.com ,it shows

Server Error in '/' Application.

http 404错误。我必须专门输入xyz.com/abc/home才能正常工作。



我尝试了什么:



我需要更改哪些设置或配置才能将特定页面设置为默认网址。我尝试过更改routconfig文件,但它无法正常工作。

http 404 error. I have to specifically type xyz.com/abc/home for its working.

What I have tried:

what settings or configuration do i need change to set particular page as default url. I have tried making changes routconfig file but its not working.

推荐答案

在IIs中有一个默认文档的设置。删除该列表中的所有项目并添加对home.aspx的引用(我假设)
In IIs there is a setting for the default document. Remove all the items in that list and add a reference to your home.aspx(I assume)


这篇关于如何将特定页面设置为默认URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆