Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I ordered a VPS on a Microsoft Hyper-V host. I then added my website mysite.com to the new hosting using WebsitePanel.

Before I change DNS to the new hosting, I want to test if the website will work well on the new VPS.

In IIS Manager, I right-click the folder mysite.com and choose manage website -> Browse menu item in popup menu. IE starts with the URL http://mysite.com loaded. It seems that IE is accessing old hosting!

How can I do view the site on my new VPS instead of the live site?

share|improve this question
    
Work well? Or just plain work at all? –  squillman Jan 13 '12 at 16:08
add comment

2 Answers

up vote 0 down vote accepted

On your testing machine, override the DNS entry for mysite.com to point to the new IP address (which you need for updating DNS anyway). On Windows, edit %WINDIR%\system32\drivers\etc\hosts with a text editor and add it there.

(Some antivirus block access to the hosts file by default since it is also used by malware to redirect antivirus update hosts to rogue URLs. If your AV does, just disable the feature for the test and re-enable it later.)

share|improve this answer
add comment

think about what you said "Before I hanged DNS to new hosting, I hope to test if the website can work well in new hosting" so if you browse to the URL it's going to point to the old site until DNS has been migrated. To test use the new IP instead.

share|improve this answer
    
Thanks! I hope that the IIS in new VPS hosting can provide a temp URL to test the website, but I don't know how to do it in IIS. –  Paul Jan 13 '12 at 15:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.