473,385 Members | 1,736 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,385 software developers and data experts.

can this be solved using ASP?

Hi All,

Our company is merging two production domains(from two different servers)
onto one server. So during the migration we use an intranet testing server to
hold all files from these two domain, when we do testing, we use host file to
map intranet IPs to these two domains. It will not impact on production
sites since it won't be seen externally. These two domains navigable each
other, that means from domainA we have links to domainB, while from domainB,
we have links to domainA.
These domain names are all hard coded in the program.
Now it seems a big problem. When we move all these file to a new production
server which is at a public hosting company, we need to do testing, at this
moment,
old production servers are still running and we have to use IPs to do
testing, cannot map IPs to domain names at all. That means all hard-coded
links from domainA to domainB will not work, and I have to change all the
links from domain name to IP?
Then when we finally go live with our new production server, I have switch
back to
domain name, what a mess? I didn't think through all those steps when we did
it.
Anybody has better solution?
Thank you so much
--
Betty
Mar 17 '08 #1
4 1695
Hi Betty,

How many pages or links will you need to replace here? I'm afraid for such
scenario, there hasn't any quick & simple means to do a replace or
redirection. Also, since the problem only occurs during the time your pages
are deployed on external server and want to test from internal, I think
adding additional code logic to do redirection is also not quite
reasonable. I will still suggest manually replace those link's servername.

Steven Cheng
Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?YzY3NjIyOA==?= <be***@newsgroup.nospam>
Subject: can this be solved using ASP?
Date: Sun, 16 Mar 2008 21:35:01 -0700
>
Hi All,

Our company is merging two production domains(from two different servers)
onto one server. So during the migration we use an intranet testing server
to
>hold all files from these two domain, when we do testing, we use host file
to
>map intranet IPs to these two domains. It will not impact on production
sites since it won't be seen externally. These two domains navigable each
other, that means from domainA we have links to domainB, while from
domainB,
>we have links to domainA.
These domain names are all hard coded in the program.
Now it seems a big problem. When we move all these file to a new
production
>server which is at a public hosting company, we need to do testing, at
this
>moment,
old production servers are still running and we have to use IPs to do
testing, cannot map IPs to domain names at all. That means all hard-coded
links from domainA to domainB will not work, and I have to change all the
links from domain name to IP?
Then when we finally go live with our new production server, I have switch
back to
domain name, what a mess? I didn't think through all those steps when we
did
>it.
Anybody has better solution?
Thank you so much
--
Betty
Mar 18 '08 #2
Hi Steven,

I am thinking I will still use host file to map our domain name to our new
production server for testing. That way I don't need to write any code or
replace any code. But I am not sure if it is OK or if it will confuse google
search engine or some DNS Servers since our DNS server will still point our
domain name to our current(old) production server (old IP address).

I am just wondering if the real world will see our domain name has two IPs
since our new production server is located at public hosting company too.

Or the question is if you use another IP to map to a domain name in
production for the purpose of testing, will it hurt our current production
site?

Hopefully
--
Betty
""Steven Cheng"" wrote:
Hi Betty,

How many pages or links will you need to replace here? I'm afraid for such
scenario, there hasn't any quick & simple means to do a replace or
redirection. Also, since the problem only occurs during the time your pages
are deployed on external server and want to test from internal, I think
adding additional code logic to do redirection is also not quite
reasonable. I will still suggest manually replace those link's servername.

Steven Cheng
Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: =?Utf-8?B?YzY3NjIyOA==?= <be***@newsgroup.nospam>
Subject: can this be solved using ASP?
Date: Sun, 16 Mar 2008 21:35:01 -0700

Hi All,

Our company is merging two production domains(from two different servers)
onto one server. So during the migration we use an intranet testing server
to
hold all files from these two domain, when we do testing, we use host file
to
map intranet IPs to these two domains. It will not impact on production
sites since it won't be seen externally. These two domains navigable each
other, that means from domainA we have links to domainB, while from
domainB,
we have links to domainA.
These domain names are all hard coded in the program.
Now it seems a big problem. When we move all these file to a new
production
server which is at a public hosting company, we need to do testing, at
this
moment,
old production servers are still running and we have to use IPs to do
testing, cannot map IPs to domain names at all. That means all hard-coded
links from domainA to domainB will not work, and I have to change all the
links from domain name to IP?
Then when we finally go live with our new production server, I have switch
back to
domain name, what a mess? I didn't think through all those steps when we
did
it.
Anybody has better solution?
Thank you so much
--
Betty

Mar 20 '08 #3
Hi Betty,

I think host file solution should work for your own internal network since
you can control the host files for your internal client machines or the
local DNS server. However, for external network and environment, when they
visit the ASP pages and visit the link, they'll get the actual IP through
internet DNS server, I think it will exsit some difference between your
internal clients. Do you think so?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Thread-Topic: can this be solved using ASP?
thread-index: AciK3xsa1beYvTorSAy5drl5zfgYPg==
X-WBNR-Posting-Host: 63.241.246.249
From: =?Utf-8?B?YzY3NjIyOA==?= <be***@newsgroup.nospam>
References: <73**********************************@microsoft.co m>
<2m**************@TK2MSFTNGHUB02.phx.gbl>
>Subject: RE: can this be solved using ASP?
Date: Thu, 20 Mar 2008 16:07:01 -0700
>
Hi Steven,

I am thinking I will still use host file to map our domain name to our new
production server for testing. That way I don't need to write any code or
replace any code. But I am not sure if it is OK or if it will confuse
google
>search engine or some DNS Servers since our DNS server will still point
our
>domain name to our current(old) production server (old IP address).

I am just wondering if the real world will see our domain name has two IPs
since our new production server is located at public hosting company too.

Or the question is if you use another IP to map to a domain name in
production for the purpose of testing, will it hurt our current production
site?

Hopefully
--
Betty
""Steven Cheng"" wrote:
>Hi Betty,

How many pages or links will you need to replace here? I'm afraid for
such
>scenario, there hasn't any quick & simple means to do a replace or
redirection. Also, since the problem only occurs during the time your
pages
>are deployed on external server and want to test from internal, I think
adding additional code logic to do redirection is also not quite
reasonable. I will still suggest manually replace those link's
servername.
>>
Steven Cheng
Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no
rights.
>>
--------------------
>From: =?Utf-8?B?YzY3NjIyOA==?= <be***@newsgroup.nospam>
Subject: can this be solved using ASP?
Date: Sun, 16 Mar 2008 21:35:01 -0700
>
Hi All,

Our company is merging two production domains(from two different
servers)
>onto one server. So during the migration we use an intranet testing
server
>to
>hold all files from these two domain, when we do testing, we use host
file
>to
>map intranet IPs to these two domains. It will not impact on
production
>sites since it won't be seen externally. These two domains navigable
each
>other, that means from domainA we have links to domainB, while from
domainB,
>we have links to domainA.
These domain names are all hard coded in the program.
Now it seems a big problem. When we move all these file to a new
production
>server which is at a public hosting company, we need to do testing, at
this
>moment,
old production servers are still running and we have to use IPs to do
testing, cannot map IPs to domain names at all. That means all
hard-coded
>links from domainA to domainB will not work, and I have to change all
the
>links from domain name to IP?
Then when we finally go live with our new production server, I have
switch
>back to
domain name, what a mess? I didn't think through all those steps when
we
>did
>it.
Anybody has better solution?
Thank you so much
--
Betty

Mar 21 '08 #4
Hi Betty,

Any progress on this issue? Have you determined which way to do for mapping
the server name?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: st*****@online.microsoft.com ("Steven Cheng")
Organization: Microsoft
Date: Fri, 21 Mar 2008 05:44:46 GMT
Subject: RE: can this be solved using ASP?
>
Hi Betty,

I think host file solution should work for your own internal network since
you can control the host files for your internal client machines or the
local DNS server. However, for external network and environment, when they
visit the ASP pages and visit the link, they'll get the actual IP through
internet DNS server, I think it will exsit some difference between your
internal clients. Do you think so?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>>Thread-Topic: can this be solved using ASP?
thread-index: AciK3xsa1beYvTorSAy5drl5zfgYPg==
X-WBNR-Posting-Host: 63.241.246.249
From: =?Utf-8?B?YzY3NjIyOA==?= <be***@newsgroup.nospam>
References: <73**********************************@microsoft.co m>
<2m**************@TK2MSFTNGHUB02.phx.gbl>
>>Subject: RE: can this be solved using ASP?
Date: Thu, 20 Mar 2008 16:07:01 -0700
>>
Hi Steven,

I am thinking I will still use host file to map our domain name to our
new
>>production server for testing. That way I don't need to write any code or
replace any code. But I am not sure if it is OK or if it will confuse
google
>>search engine or some DNS Servers since our DNS server will still point
our
>>domain name to our current(old) production server (old IP address).

I am just wondering if the real world will see our domain name has two
IPs
>>since our new production server is located at public hosting company too.

Or the question is if you use another IP to map to a domain name in
production for the purpose of testing, will it hurt our current
production
>>site?

Hopefully
--
Betty
""Steven Cheng"" wrote:
>>Hi Betty,

How many pages or links will you need to replace here? I'm afraid for
such
>>scenario, there hasn't any quick & simple means to do a replace or
redirection. Also, since the problem only occurs during the time your
pages
>>are deployed on external server and want to test from internal, I think
adding additional code logic to do redirection is also not quite
reasonable. I will still suggest manually replace those link's
servername.
>>>
Steven Cheng
Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments
and
>>suggestions about how we can improve the support we provide to you.
Please
>>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no
rights.
>>>
--------------------

From: =?Utf-8?B?YzY3NjIyOA==?= <be***@newsgroup.nospam>
Subject: can this be solved using ASP?
Date: Sun, 16 Mar 2008 21:35:01 -0700
Hi All,

Our company is merging two production domains(from two different
servers)
>>onto one server. So during the migration we use an intranet testing
server
>>to
hold all files from these two domain, when we do testing, we use host
file
>>to
map intranet IPs to these two domains. It will not impact on
production
>>sites since it won't be seen externally. These two domains navigable
each
>>other, that means from domainA we have links to domainB, while from
domainB,
we have links to domainA.
These domain names are all hard coded in the program.
Now it seems a big problem. When we move all these file to a new
production
server which is at a public hosting company, we need to do testing, at
this
moment,
old production servers are still running and we have to use IPs to do
testing, cannot map IPs to domain names at all. That means all
hard-coded
>>links from domainA to domainB will not work, and I have to change all
the
>>links from domain name to IP?
Then when we finally go live with our new production server, I have
switch
>>back to
domain name, what a mess? I didn't think through all those steps when
we
>>did
it.
Anybody has better solution?
Thank you so much
--
Betty

Mar 25 '08 #5

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

Similar topics

1
by: MKoleoso | last post by:
Problem: C#- Unable to create instance of a class implementing from an interface I have: namespace someNamespace { public __gc class SomeClass1 { }
5
by: Clifford W. Racz | last post by:
Has anyone solved the issue of translating lists in Word 2003 (WordML) into xHTML? I have been trying to get the nested table code for my XSLT to work for a while now, with no way to get the...
1
by: Elad Volpin | last post by:
Hi, I have struggled for several hours with this issue until I've understood and solved my problem. However, my solution isn't necessarily an optimal one, and worse - I think that my...
5
by: Steve | last post by:
Visual Studio 2003 .Net / C# I have a 2 page Tab Control for users to add a Job in my application. The first page is for them to choose which type of Job they would like. The type of Job...
11
by: Abhishek | last post by:
I have a problem transfering files using sockets from pocket pc(.net compact c#) to desktop(not using .net just mfc and sockets 2 API). The socket communication is not a issue and I am able to...
5
by: Tammy | last post by:
Hi, I have an aspx app which needs to post data to a form and read the response. I am confused on whether I should be using the get_url using "POST" method or the post_url using "GET" method. ...
2
by: Richard Lionheart | last post by:
Hi All, I generated a WebForm and created a Virtual Directory for it IIS. But I got an error message (shown below) saying something like my app lacked appropriate privileges. David Wang...
19
by: Mountain | last post by:
I would like opinions on whether this solution could be important and whether anyone knows if it is already solved. (I would also like to know if anyone thinks it cannot be solved.) First, we...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
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...

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.