473,462 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Obtaining what Web Server is running the WebSite

Hi,
Is it possible to determine what web server is running a website, if so how?
Also is it possible to determine if the web site is running locally or
remotely.

Thanks

Wayne
Nov 19 '05 #1
3 1790
> Is it possible to determine what web server is running a website, if so
how?
Yup. What information do you want? Machine name, IP address, or Domain name?
Also is it possible to determine if the web site is running locally or
remotely.
If you're in the same building, it's running locally. Otherwise, it's
running remotely. IOW, what coordinate system is "local" and what coordinate
system is "remote?" Local and remote are relative terms. If I call someone
in Virginia Beach, it's a local call. If my 101-year-old grandmother in
Arizona calls the same person, it's long distance.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Wayne Gibson" <wa**********@rendersoft.com> wrote in message
news:d6*******************@news.demon.co.uk... Hi,
Is it possible to determine what web server is running a website, if so
how?
Also is it possible to determine if the web site is running locally or
remotely.

Thanks

Wayne

Nov 19 '05 #2
You should be able to see enough data from response headers.

--
Teemu Keiski
ASP.NET MVP, Finland
"Wayne Gibson" <wa**********@rendersoft.com> wrote in message
news:d6*******************@news.demon.co.uk...
Hi,
Is it possible to determine what web server is running a website, if so
how?
Also is it possible to determine if the web site is running locally or
remotely.

Thanks

Wayne

Nov 19 '05 #3
You can often use this to get the server info.

Label1.Text = Request.ServerVariables("Server_Software")

http://msdn.microsoft.com/library/de...4f75508752.asp

"Wayne Gibson" <wa**********@rendersoft.com> wrote in message
news:d6*******************@news.demon.co.uk...
Hi,
Is it possible to determine what web server is running a website, if so
how?
Also is it possible to determine if the web site is running locally or
remotely.

Thanks

Wayne

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John | last post by:
Hello, I need to know which programs are opn on another machine in my network, these programs are opened from a shared drive on the server. How can I do this ? I've already dowloaded a sample...
6
by: Jim | last post by:
I've just bought a new Windows Server 2003 and I am trying to move an exiting FrontPage website to this new machine. I can't get ASP pages to run. IIS 6.0 has been installed. From the snap-in,...
5
by: Oleg Berfirer | last post by:
I'm running a resource-intensive stored procedure, which reads a file with about 50,000 lines with a BULK INSERT into a temp table, then goes through it and inserts a record for each line into...
7
by: Elie Grouchko | last post by:
Hi I am running exactly the same ASP code on IIS 5.0 and IIS 6.0 I am calling Server.MapPath(), the parameter is a virtual path that includes a reference to a parent path...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
2
by: =?Utf-8?B?QWxhc3RhaXIgQmVsbA==?= | last post by:
I am having trouble creating a web site on a server running sharepoint services. I am creating an ASP.Net website using Visual Studio 2005. The server I am trying to create it on is a Windows 2003...
6
by: honguin | last post by:
Hi, The current scenario is that I have an iframe inside an asp.net web page where I periodically check the url inside the iFrame. I know that all this information can be obtained in the...
7
by: =?Utf-8?B?Sm9obiBTdGFnZ3M=?= | last post by:
Hello, Please read this all before giving an answer :) I'm doing some troubleshooting on a web application that my company wrote. It's written in asp.net 1.1. The error that the Event viewer...
4
by: John Straumann | last post by:
Hello all: Most of my development for websites has been on test VPC images where VS is installed on the server image. I now have a setup where I have a test server joined to my domain, and a...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.