Solved

Access Web application through server ip

Posted on 2013-11-11
7
65 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 35

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

626 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