Forum Discussion
Using same URL on old SP server as new SP server
Well, it depends on your DNS infrastructure. If you have a public record for your subdomain you may want to reach out to OarNet, who is hosting your public DNS zone and ask them to change the A record of your existing domain to point to the IP address on the new SharePoint server.
On the other hand, if you have a private DNS zone (in your company network), you’ll need to ask the IT team to change the DNS record.
If you have more details regarding your current infrastructure, that’ll be helpful.
Pablo
I'm wanting to set up the new server while the old one is in production. Can I create a web application on a different server with the same URL? How will I do the switch over when I want the new server to go live?
- fainpabloJan 24, 2019Brass ContributorYes, you can definitely create a web application with the same url on another farm. What you can do is edit your machine “hosts” file to bypass your DNS servers and be able to browse the sites on your new farm. Make sure you’re on the new one when doing changes.
Another option is to setup your new web application with a different URL and once you’re done with the configuration/migration create an alternate access mapping with the old url. You can read more about AAM here: https://docs.microsoft.com/en-us/sharepoint/administration/configure-alternate-access-mappings
As soon as you finish (no matter which path you decided to follow) you can go ahead and replace the IP address on the DNS record as I mentioned before.- trishmalloyJan 25, 2019Copper Contributor
Hello Fainpablo,
I appreciate your responses, thank you!!
Wouldn't I just be able to leave the DNS IP Addresses on the VM's NIC blank, or do I have to edit the hosts file?
Trish
- fainpabloJan 25, 2019Brass Contributor
The DNS settings on your VM NIC are for the VM DNS resolution. If you'd like to browse the new site from, for example, your laptop, then you'll need to edit your laptop's hosts file to point the old url to the IP address assigned to the new VM.
Or, as I mentioned earlier, you can assign a different subdomain to your new site and after migration add an alternative access mapping with the old url.
Let us know any other questions you have!