Solved

Access Web application through server ip

Posted on 2013-11-11
7
63 Views
Last Modified: 2015-06-23
Hi,

We have a .net application which we want to deploy on a windows server 2008 with a static IP. This is a test  server. (IIS7)
We will deploy 3 web applications on this server.

If we have to access it through the server ip how can we do it?

for ex. 11.111.11.11/WebApp1
       11.111.11.11/WebApp2

Thanks
0
Comment
Question by:rowternet
  • 3
  • 2
7 Comments
 
LVL 14

Expert Comment

by:Dustin Hopkins
ID: 39640250
Rowternet,
Are you asking how to access the server to deploy from visual studio?
Or are you asking how to configure them as applications in IIS?

Thanks,
Dustin
0
 

Author Comment

by:rowternet
ID: 39641745
dusion,

I can deploy the application on IIS.
Instead of using domain name, i have to use ip to access this application. How to do this?

Thanks
0
 
LVL 14

Expert Comment

by:Dustin Hopkins
ID: 39642283
You should just be able to type the ip/approot into your address bar, you may need to prepend http.

So:
http://11.111.11.11/WebApp1

Just make sure that you configured the default website to use the ip address, and also configured them as applications in IIS.

Is this what you needed or am I still misunderstanding you?

Hope this helps,
Dustin
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:rowternet
ID: 39648360
dusion,

I tried it. It does not work that way.
when i try http://11.111.11.11/Webappp1, it takes me to a page showing IIS7.

Thanks
0
 
LVL 14

Accepted Solution

by:
Dustin Hopkins earned 250 total points
ID: 39648504
It sounds like you don't have the sites configured properly in IIS. I pulled these steps from a tech net article. The full article is here.

Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).
In the Connections pane, expand the Sites node.
Right-click the site for which you want to create an application, and click Add Application.
In the Alias text box, type a value for the application URL, such as marketing. This value is used to access the application in a URL.
Click Select if you want to select a different application pool than the one listed in the Application pool box. In the Select Application Pool dialog box, select an application pool from the Application pool list and then click OK.
In the Physical path text box, type the physical path of the application's folder, or click the browse button (...) to navigate the file system to find the folder.
Optionally, click Connect as to specify credentials that have permission to access the physical path. If you do not use specific credentials, select the Application user (pass-through authentication) option on the Connect As dialog box.
Optionally, click Test Settings to verify the settings that you specified for the application.
Click OK.

Now you should be able to view the site through http://{IP Address or servername}/{Alias of application}

Then just do this for the other two applications.

Hope this helps,
Dustin
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40845791
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question