473,396 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to use the select name to show in the internal workgroup/domai

Hello everyone,

I had a program on my web server, that is http://computer1/Test/test1.aspx,
actually computer1 is the web server name, because this is a internal program
inside the domain/workgroup, I would like to know, in order to be easy to
access this link, I would like to just type in http://internalweb1 so that is
link can actually display the page for http://computer1/Test/test1.aspx , is
that a good way to do this issue? Is that any setting in the code we can do
that? By the way, the code for test1.aspx is C#..

Thanks.

Yezanxiong

Jul 22 '05 #1
2 1338
The way it works is that a user types in a host name in his address bar,
i.e. http://internalweb1. The computer, not knowing anything about names
and only wanting to deal with IP addresses, looks for ways of converting
that name into an IP address so that it knows where to go. First, it'll
look to its hosts file, which is commonly in %windir%\system32\drivers\etc\.
If it doesn't find this host name there, it moves onto its name resolution
servers, such as WINS servers and DNS servers. If it finds an answer from
one of them, it then goes to that IP address. So, if you have
"internalweb1" defined in your WINS server as 192.168.1.39, the requesting
computer will know to go to that IP address. From that point, it is up to
IIS to say, "Hey, someone's requestiong http://internalweb1 at IP address
192.168.1.39. I have a site defined at that IP, so let me send the default
page in the root of the site." That default page can redirect to
http://computer1/test/test1.aspx, but there isn't really any reason for it
to do that.

Assuming that your server is in fact a server and not a desktop OS such as
Windows 2000 Pro or XP Pro, you can setup a new site in IIS that will
respond to requests made either uniquely to that IP or to that "host header"
or internalweb1. For help with such procedures, please visit
microsoft.public.inetserver.iis.

Ray at home

"yezanxiong" <ye********@discussions.microsoft.com> wrote in message
news:7B**********************************@microsof t.com...
Hello everyone,

I had a program on my web server, that is
http://computer1/Test/test1.aspx,
actually computer1 is the web server name, because this is a internal
program
inside the domain/workgroup, I would like to know, in order to be easy to
access this link, I would like to just type in http://internalweb1 so that
is
link can actually display the page for http://computer1/Test/test1.aspx ,
is
that a good way to do this issue? Is that any setting in the code we can
do
that? By the way, the code for test1.aspx is C#..

Thanks.

Yezanxiong

Jul 22 '05 #2
That sounds reasonable, I will work with my network guy to figure out.
Thanks.

"Ray Costanzo [MVP]" wrote:
The way it works is that a user types in a host name in his address bar,
i.e. http://internalweb1. The computer, not knowing anything about names
and only wanting to deal with IP addresses, looks for ways of converting
that name into an IP address so that it knows where to go. First, it'll
look to its hosts file, which is commonly in %windir%\system32\drivers\etc\.
If it doesn't find this host name there, it moves onto its name resolution
servers, such as WINS servers and DNS servers. If it finds an answer from
one of them, it then goes to that IP address. So, if you have
"internalweb1" defined in your WINS server as 192.168.1.39, the requesting
computer will know to go to that IP address. From that point, it is up to
IIS to say, "Hey, someone's requestiong http://internalweb1 at IP address
192.168.1.39. I have a site defined at that IP, so let me send the default
page in the root of the site." That default page can redirect to
http://computer1/test/test1.aspx, but there isn't really any reason for it
to do that.

Assuming that your server is in fact a server and not a desktop OS such as
Windows 2000 Pro or XP Pro, you can setup a new site in IIS that will
respond to requests made either uniquely to that IP or to that "host header"
or internalweb1. For help with such procedures, please visit
microsoft.public.inetserver.iis.

Ray at home

"yezanxiong" <ye********@discussions.microsoft.com> wrote in message
news:7B**********************************@microsof t.com...
Hello everyone,

I had a program on my web server, that is
http://computer1/Test/test1.aspx,
actually computer1 is the web server name, because this is a internal
program
inside the domain/workgroup, I would like to know, in order to be easy to
access this link, I would like to just type in http://internalweb1 so that
is
link can actually display the page for http://computer1/Test/test1.aspx ,
is
that a good way to do this issue? Is that any setting in the code we can
do
that? By the way, the code for test1.aspx is C#..

Thanks.

Yezanxiong


Jul 22 '05 #3

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

Similar topics

7
by: Ewart MacLucas | last post by:
Does anybody know how to find the workgroup name (or domainname) of the local PC. Is there a framework class for it? (preferably a solution not involving active directory calls) Thanks,...
0
by: yezanxiong | last post by:
Hello everyone, I had a program on my web server, that is http://computer1/Test/test1.aspx, actually computer1 is the web server name, because this is a internal program inside the...
6
by: GSteven | last post by:
(as formerly posted to microsoft.public.access.forms with no result) I've created a continuous form which is based on a straightforward table (ex - customers - 100 records). On the form there is...
3
by: zav | last post by:
Hi all. Getting stright to the point Im trying to get and set my computers workgroup name but im having litle luck, i've tryed: Environment.UserDomainName Environment.MachineName but they...
11
by: Mark Hollander | last post by:
How do I get the name of the Workgroup or Domain that the computer has been registered in. Thank you Mark Hollander
2
by: Richard L Rosenheim | last post by:
On my development machine, it works -- SystemInformation.UserDomainName and System.Environment.UserDomainName both returns the domain name. But, on my test machine, these methods are returning the...
3
by: taru | last post by:
Env: DB2 UDB 8.1 on AIX We are executing a db2 sql stored procedure which is invoked from a java client. The stored procedure contains few select, insert and update statements. Using the DB2...
2
by: ruca | last post by:
Hi, How can I use authentication with Work Groups and not Domains. What is the configuration (in Web.config and IIS) to work with this? Basically I have a webapplication that use...
3
by: matwilko | last post by:
hi, i am trying to create a simple version of itunes...and i am using iframes to do this. I have already set up the iframes using dreamweaver and used a drop-down menu to select the genre. When...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.