Link to home
Start Free TrialLog in
Avatar of sam15
sam15

asked on

How_setup_temporary_domainname

I am migrating two windows 2008 VMs (crystal server) and two RHEL 5.8 VMs (oracle servers)
from current production server to a new larger physical server.

They assigned temp IPs for the migrated machines until testing is completed.

The issue is that I need to test web applications on the new machines
and I cant migrate the current domain name and SSL certificate to the new ones.

1) Do you know how can I set a temporary test domain and set it up in DNS for testing?
Do I need to buy SSL certificates and domain for testing?

2) Would I be able to migrate the current production SSL certificates and domain name
to new machines when we go live or I need to create a new CSR on new machine and resend to certificate authority for regeneration? the machine names are different from old to new machine.
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sam15
sam15

ASKER

But does not this redirect production users to new test server too (I don't want that yet)?

I want to spend several weeks testing the new machine to verify it everything runs fine but I need temp domain name and ssl ceritifcate since we use HTTPS.

If I change the hosts file on my windows 7 desktop machine, would it ignore the DNS entries for current production machine and go to new server? so the DNS will have

CURRENT_PROD_IP www.mysite.com (prod server)

The local hosts windows file

TEMP_TEST_IP  www.mysite.com (New server)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The change on your local machine will only affect users logged in on it accessing that URL.
It will be limited to this one workstation.
You can always comment out (#) the line when done with testing for the day.
Avatar of sam15

ASKER

I am not sure what CMS, LXD are and we don't use LAMP or wordpress.

I only need a TEST DOMAIN NAME for the oracle apache web server. Database machine is accessed using web server using client/server connection.

Let us my current production machine has domain name "www.xyz.com" with IP address 192.01.111.111.
The new web server machine has no domain now. IT has IP address 192.01.222.222.

1) Can I setup in my local test workstation host file for testing purposes "www.xyz.com" and 192.01.222.222. Would this work?
2) Can I really copy the SSL certificate files from old machine to new machine? I thought the CSR normally includes machine name or domain name or something specific for the machine?
LAMP - Linux Apache MySQL PHP
LXD are containers to run application/system as an alternative to VM without the Overhead resource cost.
CMS Content Management System drupal, joomla, wordpress

On the workstation from which you will be testing the new environment, adding the new IP and the hostname in the hosts file as I outlined will let you from that workstation only to access the test environment.

The new System where you have copied setup

Lets start from the beginning what is it you are trying to do?
Are you trying to setup a test environment to match your current production. In this case you can use your workstation with virtualbox or VMWARE and setup a guest system onto which you will build t.......

You can export the certificate into a PFX/pcks12 with the private key and the imported on the new machine.
Avatar of sam15

ASKER

I am migrating an old production physical machine to a new physical machine. It runs VMware so we have Linux and windows VMs running on it.

We are copying the VMs for windows but reinstalling RHEL and oracle servers on Linux.

SO I need to test applications on those new machine to see how they run before doing final production migration.

Are you saying I can test using same domain name by adding the new machine IP to the local host file on test machine and export the SSL certificate and import it on new machine? Cant you do a certificate file copy for certificate/. I am not sure this will work as the CSR might be different of it includes hostname.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sam15

ASKER

yes, I plan to use new IPs temporarily for testing purposes only. After testing is completed, we plan to reuse current productions IPs for new servers. Reason for that we have so many firewall rules locally and remotely at customer site based on these IPs

I am going to test the edit for hosts file to run same domain on new machine.

do you know what to use for export/import of ssl certificates for Linux and windows servers?
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- arnold (https:#a42393626)
-- David Favor (https:#a42394149)
-- arnold (https:#a42398997)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Pber
Experts-Exchange Cleanup Volunteer