Portal Home > Knowledgebase > Articles Database > Moving to VPS


Moving to VPS




Posted by besoh, 09-23-2016, 02:52 PM
I am currently hosting my site in shared hosting. Domain at namecheap and using cloudflare. I am trying to change hosting to a Windows VPS. I have installed XAMPP. Added my domain in hosts file, created the virtual hosts to my domain. Now when i change my Cloudflare Pointing to my VPS IP it just doesn't open my site. What am i doing wrong? Is there any guide for this? Thank you! Last edited by besoh; 09-23-2016 at 02:56 PM.

Posted by BrianHarrison, 09-23-2016, 03:16 PM
Does your website load for you (from the Windows VPS) when you visit it directly or does the problem only occur when you try to point Cloudflare towards it? You can edit the HOSTS file on your computer to temporarily point the domain to the IP address of your Windows VPS.

Posted by besoh, 09-23-2016, 03:47 PM
I already added this to my HOSTS file: 127.0.0.1 mydomain.com When i type mydomain.com to in VPS browser, it loads my site. When i change cloudflare ip to my VPS, it takes my shared hosting site down. And VPS site doesn't go online.

Posted by Giovanni M, 09-23-2016, 04:37 PM
Do you get any error codes from CloudFlare?

Posted by besoh, 09-23-2016, 05:18 PM
I just tried again.. Same thing. Cloudflare says Active. Site goes down.. I change back to old IP and comes up again. Is the Virtual Host and editing HOSTS file all i need to do? What you suggest me to do.. I am desperate.

Posted by besoh, 09-23-2016, 08:00 PM
Solved my own problem. There was firewall blocking my ip from being accessed from outside. Had to add port 80 to firewall.

Posted by net, 09-23-2016, 09:53 PM
Good to hear. /closed.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Emails going to Junk (Views: 595)
TMS Down? (Views: 642)