如何设置服务器IP以在应用程序中设置页面? [英] How to set server IP to set up page in an application?

查看:129
本文介绍了如何设置服务器IP以在应用程序中设置页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个ASP.NET应用程序.这已部署在服务器上.
现在,我们可以使用IP地址运行该应用程序.

我想将此应用程序中的启动页面设置为主页.
如何为该应用程序设置www.applicationname.com,然后设置启动页面?

请帮我研究一下.

谢谢,
问候,
Narasimha

Hi to All,

I have an ASP.NET application. This is deployed on a server.
Now, we can run that application by using IP Address.

I want to set the start-up page in this application as a home page.
How can I set www.applicationname.com for that application and then set a start up page?

Please help me rgarding this.

Advanced thanks,
Regards,
Narasimha

推荐答案


服务器是什么意思?
您需要通过任何方式配置DNS来通过名称访问您的网站.
但是,如果您只想在一台计算机上使用该名称进行测试,则可以更改测试计算机上的主机(位于C:\ WINDOWS \ system32 \ drivers \ etc)文件,并在其中添加以下行: >
[服务器IP地址] www.applicationname.com

您的seconf问题:
要设置启动页面,可以在IIS上进行设置.

谢谢.
Hi,
What do you mean by server?
Any way you need to configure DNS to access your website by the name.
But if you want using the name in just one machine for testing purposes, you can change the hosts (located on C:\WINDOWS\system32\drivers\etc) file on your test machine and add the following lines in it:

[Server IP Address] www.applicationname.com

for your seconf question:
to set a start up page you can set it on the IIS.

Thanks.


检查此链接必须对您有帮助
如何将域名设置为Web应用程序 [
Check this link it must help you
How to set domain name to web application[^]


这篇关于如何设置服务器IP以在应用程序中设置页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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