1

Topic: VPS Settings

HI

Not sure if anyone can help, but I have a slight issue and any advice would be much appreciated!!!!!

One of my domains 'forexample.com' is being hosted by another company, but I am switching it over to a new company. As part of this we are doing a redesign and setting it up to use Wordpress as the CMS. I have set up the domain on our VPS and we¹ve installed Wordpress. The problem is that when we try to get to the wordpress login page using the IP address, it automatically redirects to the existing domain site.

I just wondered if anyone had any idea if we can get around this without changing the DNS settings to point to the VPS?

Thanks

2

Re: VPS Settings

Hi,  There are a few ways to go about it.

* You can add an A record to DNS to create a subdomain of your site, for example newsite.example.com. you change the site name in plesk and swap it back when you are ready to go live.

* You can change your hosts file in windows and add your IP followed by your domain name (and it would spoof the website to go to that ip; then plesk will serve the site)

The file is in c:\windows\system32\drivers\etc\hosts it can be hard to modify if you are on windows vista.

If you are on a Mac the file is /private/etc/hosts

Kind Regards Ewan