Page 1 of 1

Added a second website to VPS but only seeing the first one.

PostPosted:07 Jan 2019 12:15
by Lakuma
I have two WP sites running on my one VPS. I got the first one up and running just fine.

I added a second WP website on the same VPS, I then pointed my DNS A record for my second website to the IP address of the VPS but only the first website is showing.

I have SSL enabled on the first website, not sure this matters or not.

Can someone please help?

Re: Added a second website to VPS but only seeing the first one.

PostPosted:07 Jan 2019 14:45
by nguyenoanh
Hello.
Please wait for some (minutes, hours ..) til the change DNS of the 2nd domain have effect.
I using cloudflare, the changetime is so fast, it take only some minutes.

Re: Added a second website to VPS but only seeing the first one.

PostPosted:08 Jan 2019 07:13
by Lakuma
I waited several hours for the DNS change to take effect and it still resolves to the first site.

I also cleared my browser cache.

I even changed my Windows host file to point the second domain name to the server IP address but it still resolves to the first domain name.

Re: Added a second website to VPS but only seeing the first one.

PostPosted:08 Jan 2019 08:01
by nguyenoanh
Hello ?
For the 2nd website, before add that to VPS, did you use ssl for it ?

Re: Added a second website to VPS but only seeing the first one.

PostPosted:08 Jan 2019 08:55
by Lakuma
nguyenoanh wrote:Hello ?
For the 2nd website, before add that to VPS, did you use ssl for it ?
Yes with SSL on the old VPS, I'm transferring the live site to a new VPS.

Re: Added a second website to VPS but only seeing the first one.

PostPosted:08 Jan 2019 09:27
by nguyenoanh
In new VPS, you should setup SSL for it first or you must clear clean cache on your browser cache.
or you try go to it in the browser that did not go to your website in the past.
I think, you can go to it.