473,800 Members | 2,614 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Get the IP address of server given Domain Name

Hi EveryBody:

How can I get the IP for web site when I have the Domain Name ?

To make my question clear:
For example when you go to www.netcraft.com and search for any web site by
given the web site name alot of data coming up included the IP address for
the Web Site .

Can Some body tell me how can I do so or redirect me to such topic.

any help will be completlly apprecaited

regatd's

Husam
Sep 7 '07 #1
1 2313
On 7 Sep, 02:26, Husam <Hu...@discussi ons.microsoft.c omwrote:
Hi EveryBody:

How can I get the IP for web site when I have the Domain Name ?

To make my question clear:
For example when you go towww.netcraft. comand search for any web site by
given the web site name alot of data coming up included the IP address for
the Web Site .

Can Some body tell me how can I do so or redirect me to such topic.

any help will be completlly apprecaited

regatd's

Husam
This will bring back an Array of IPAddresses for a given domain name:

Dim ips As System.Net.IPAd dress() =
System.Net.Dns. GetHostEntry("w ww.hotmail.com" ).AddressList

Phillip Ross Taylor

Sep 7 '07 #2

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

Similar topics

9
4969
by: news | last post by:
There's all kinds of ways to validate an email address to make sure it's well formed and whatnot, but what about checking to see if it's a valid e-mail account? Like how you can use checkdnsrr() to check to see if a URL is valid. I know finger used to be used at one time, no? But server block finger requests, and I'm not sure many e-mail accounts out there are even fingerable type accounts anyway. Thanks for any suggestions!
117
11897
by: Steevo | last post by:
Any suggestions as to the best programs for cloaking email addresses? Many thanks -- Steevo
2
2855
by: ArunPrakash | last post by:
Hi All, I have a case where i need to validate if the email address is valid before i send a mail. for this there are 2 parts.. * check the format of mail address - this is done * check the validity of the domain - for this do i need to connect to domain name( example yahoo.com , port 25 )using TCP/Ip to the server and then check to see if i receive correct responses. I am confused by the use of SmtpServer in System.Web.Mail.. what is...
2
1893
by: Code Monkey | last post by:
Hope someone can help me out here. I'm writing some code (web forms) to see where a specific domain name resolves and if its not a local address, redirect to a specific redirect page. <code> IPHostEntry IPHost = Dns.Resolve("www.domainname.com");
11
8607
by: Brian Henry | last post by:
I have a domain cluster with AD running, and I want to lookup a users email address (exchange 2000 server is integrated with the AD system) so i can email the user based on their user name. does anyone know how to look up the email address? i would just use the user name as the alias but not all our user names match their internal email addresses.. thanks
0
1027
by: sasidar.d | last post by:
hi techies I have created a Login web page . It gets the user identity using the window nt authetication. The page is working fine. I have removed the allow anonymous access check box for the virtual directory and then given the check for the integrated window authetication. After deploying the project in the testing server - windows 2003 server (server called as svr10) it is working fine.
4
1544
by: William LaMartin | last post by:
Is there a way to determine the name of the POP3 server for a given email address?
1
4832
by: Todd Brewer | last post by:
I have an ASP.NET 2.0 site that stores a cookie on the browser. Instead of the domain name (www.somename.com) it comes accross as the IP address of the server. This works in Firefox, but fails with IE 6 because of security. I went through and forced the Domain like this: this.Response.Cookies.Value = "en-MX"; this.Response.Cookies.Expires = DateTime.Now.AddDays(30); this.Response.Cookies.Domain = "somename.com"; This results in...
1
9466
by: danknauf | last post by:
I have a webserver which is behaving strangely. The server is a fresh copy of Windows 2003 running IIS with default options + Active Server Pages installed. The server is connected to a Linksys router, and has a static IP address of 192.168.1.10. When I access a page with the following script directly from the server, my WAN IP address is returned (24.x.x.x.), instead of my LAN address. <%
0
9691
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10507
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10255
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9092
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6815
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5607
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2948
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.