• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Domain Name Problem

JPEdwards

New Pleskian
Hi,
hope some knowledgeable person can give a little help:

Recently I bought a vps basic linux package running plesk 8.3 from a host (webfusion) and I have been trying to host a website - mywebsite.co.uk on it.

mywebsite.co.uk has previously been hosted on a different webhost (uk2.net) server but obviously I want to change it to be hosted on my vps server.

To that end I created the domain mywebsite.co.uk in my Plesk control panel and accepted the default DNS records it created which are: (ps I have substituted nonsense ip address for real one)

517.741.912.221 / 24 PTR mywebsite.co.uk.
mywebsite.co.uk. NS ns.mywebsite.co.uk.
mywebsite.co.uk. A 517.741.912.221
mywebsite.co.uk. MX (10) mail.mywebsite.co.uk.
ftp.mywebsite.co.uk. CNAME mywebsite.co.uk.
mail.mywebsite.co.uk. A 517.741.912.221
ns.mywebsite.co.uk. A 517.741.912.221
webmail.mywebsite.co.uk.A 517.741.912.221
www.mywebsite.co.uk. CNAME mywebsite.co.uk.
9 DNS records total


I also noticed some information at the top of the Plesk screeen which read:

Clients > Domains > mywebsite.co.uk >
This server acts as a primary nameserver for the DNS zone mywebsite.co.uk

Ok, so now I have to go to uk2.net and switch over my primary and secondary nameservers but I am not sure what to change them to so I searched around the webfusion support site and found an article with the title DOMAINS which made me think I should change the nameservers to:

Primary nameserver: ns.webfusion.co.uk (212.67.202.1)
Secondary nameserver: ns2.webfusion.co.uk (212.67.203.240)

But ---- also I noticed in my DNS records (listed above) I have a nameserver called ns.mywebsite.co.uk and I was wondering whether I should change my dns at uk2.net to that.

In the end I decided to set the primary and secondary nameservers to ns.webfusion and ns2.webfusion. and that is how they are at the moment. I made this change about 24hours ago.

In the meantime, if I type www.mywebsite.co.uk into my browser address bar it seems to try and resolve 517.741.912.221 which is the ip address of my vps server and I get the following up in the browser:

Server Default page
If you see this page it means:
1. hosting for this domain is not configured
or
2. there's no such domain registered in Plesk

Which I think makes sense because I haven't uploaded any content onto my vps mywebsite.co.uk webspace.

What is confusing me is if I try to ftp to ftp.mywebsite.co.uk I end up attached to my uk2.net ftp webspace - shouldn't it by attaching to my vps at webfusion? I can actually ftp to my webfusion vps by ftp'ing directly to my ip address 517.741.912.221

Also, I have put a bit of content up on my vps - it's a script for importing a large mysql dump file into my mysql database. The script is called bigdump.php and sits in a subdirectory htttpdocs/bigdump/bigdump.php

I think I should be able to access it by typing in my browser

http://www.mywebsite.co.uk/bigdump/bigdump.php

but if I do that it calls the same script at my old uk2.net webspace which has the same directory structure.

Also, I don't really know the significance of the default directory structure. I have copied a test.pdf file into the directory httpdocs but when I enter http://www.mywebsite.co.uk/test.pdf into my browser it doesn't try and load the pdf if just says it can't find the file - it does the same if I type http://517.741.912.221/test.pdf.

Help!!! - How do I get any reference to mywebsite.co.uk whether is http or ftp pointing to my vps on webfusion.

Thanks in advance for any help given.

Regards,
JP
 
You missed one step. You need to go to the registrar where your domain ( mywebsite.co.uk ) is registered and create a "Host Summary" ( may be called something different with your registrar, you may have to contact them ). What this host summary does is let you associate your ns.mywebsite.co.uk with your VPS' ip address like so:

ns1.mywebsite.co.uk = xx.xx.xx.xx
ns2.mywebsite.co.uk = xx.xx.xx.xx


Then you set your name servers to your ns1.mywebsite.co.uk & ns2.mywebsite.co.uk that you just created. This will allow the domain name to resolve to the website on your VPS.
 
Back
Top