New Droplet (of a snapshot) - New Domain - Still loading files old domain
I have a website running on a droplet (Centos, LAMP) with the domain “widget.com”
I made a snapshot of this droplet, spun a new droplet (let’s call it Droplet2) using this snapshot
I like to use a different domain for Droplet2, the new domain is Widget2.com
I have edited the virtualhost file and when I go to Widget2.com the website resolves perfectly but
…yes here it comes
It seems that a lot of files are still loaded from the old server/domain
ex. a js file is still loaded from widget.com and Not from widget2.com as it should
Q1 Could this have something to do with a wrong Virtualhost setting
Q2 What could be another reason for this behaviour?
Any hint on where I should look would be super. Thanks so much.
And, if I missed providing crucial information, please let me know. I’m in a rather steep learning curve