Point domain to website on server - dns

My client has server which we developed a new website on. We are trying to point an external domain on another server to this website. Do we just update the A record with the highlighted IP or? See image attached

Probably your WHM control just have the option to do it (update DNS records) automaticaly. But, if don't. Try adding at A records:
ns1.gandlp.com > 162.144.250.139
ns2.gandlp.com > 162.144.250.140
at your DNS Zone Editor control on CPanel

Related

How to get my domain to point at my Windows 2012 R2 Server

So right now I have a Windows Server 2012 R2 set up with Apache running and I'm in the point where I can only access my webpage by typing the ip address (123.456.789.000) into my browser.
I also have bought a domain name. (ex.com)
How can I make my domain "point" to my web server, so I can see my webpage by typing the domain name (ex.com) into my browser?
You need to modify the DNS of your domain such that it contains an A record which points either the apex record (represented by a * or # usually) to your IP address or by adding an entry for www or something else that you want to prefix your domain.
Exactly how you do this will depend on which provider is hosting your DNS.
Some further guidance here: http://www.wpbeginner.com/glossary/dns/

Plesk Error - Failed domain creation - Serial Number update limit

I have an issue with my Plesk instance which really doesn't make sense to me.
I am creating a lot of subdomain for my clients on my main domain.
I don't handle any DNS on my server, service is disabled in Plesk and my 2 DNS servers for that main domain are my domain/vps provider ones (OVH).
I use then to create a subdomain as a zone DNS for each of my client in OVH backend, but know I chose to simply use a wildcard to avoid having 100s of entry.
Then I go to plesk and add a subdomain (vhost) with the associated folder where the subdomain (or domain) needs to go. It use to work fine but unfortunately now I have an error saying:
Error: Failed domain creation: Unable to update the domain data: The
serial number update limit was reached. No further change on the DNS
zone can be done today.
I really don't get it as, on my provider, I can create as many DNS zone as I want, and I really don't see the link between my server/Plesk vhosts/domains/subdomains and the DNS! I don't handle any DNS on my server and I thought creating a subdomain or domain on Plesk was just creating a vhost.
I am stuck on that one, would be great if any of you ever encounter that issue could help me.
PS: Couldn't find anything online ...
PS2: Called my provider and talked to me about SOA limitations, But again I can't see the link here. As the error is not when I try to create a DNS zone but when I try to set a new vhost.
This is a plesk bug know for me as PPPM-2590.
As workaround you can uncheck 'Use serial number format recommended by IETF and RIPE' on parent domain where you have a lot of subdomains or server-wide in 'Tools & Settings > DNS Templates > SOA record Template' and sync template with domains.
You can try this custom fix
Make sure that you have latest update #68
Backup original file:
cp /usr/local/psa/admin/plib/Dns/Zone/Abstract.php /usr/local/psa/admin/plib/Dns/Zone/Abstract.php.ORIG
Download https://docs.google.com/uc?authuser=0&id=0B7Nx66lufdvpSkxxeHpqaGtvWTg&export=download and place it to /usr/local/psa/admin/plib/Dns/Zone/Abstract.php

domain poiting to website

I have a a website on my server on a subdomain. let's say at this adress:
subdomain.sourceserver.com/site/
I mapped a freshly bought domain (mynewdomain.com) to my server. So now mynewdomain.com resolves with the IP of my server.
And http://mynewdomain.com displays the website located at subdomain.source-server.com/site/
When I start browsing in the pages of the website, the adress displayed changes back to http://subdomain.sourceserver.com/site/blabla.php
I would like to keep it with the domain name:
http://mynewdomain.com/blabla.php
How can I do that ?
Do I have to create a CName on the DNS zone subdomain.sourceserver.com ?
Thanks in advance !
Cheers,
Mat
DNS is not what's changing the address in your browser, it is likely your web code or web server config. My suspicion is that your site is configured to be "subdomain.sourceserver.com/site/", so links inside the site are pointed at "http://subdomain.sourceserver.com/site/something.file", which is why the visible URL changes.
http://mynewdomain.com is resolving to the same IP address as your previous name, so your web browser is taking you to the same content. Unless you have virtual hosts configured so that the server pays attention to the headers, it will simply serve out the content to the request that lands on it's IP:port.
Virtual host examples

domain name does not open the website, redirects to default IP instead of opening www

I recently changed NS of one domain to another host and created a domain using Helm Control Panel.
The problem is that when I type domain name (ie. www.MyDomain.com) instead of opening the coresponding website, it opens host webmail page which is served by smarter mail.
I have cleared dns cache, rebuilt and updated it. also I removed the domain and added it again.
Pinging the domain name returns server's IP address and it's up.
The hosting OS is windows server 2003.
I appreciate any comments to solve the problem.
Edit 1:
Though this was a long last headache, I solved the problem by removing domain's DNS entry alongside with all alias domains attached to it directly in DNS Server console, restarting server and then rebuilding DNS Zone via Helm Control Panel. I'm not sure if this was the best practice but it seems there was a mix of domain's DNS, alias domains' DNS, Hosting software, Caching problems.
Edit 2:
Actually this error was not about the DNS stuff, it is a failure of Helm Control Panel adding/removing alias domains. To share the experience, I Add a answer to this question.
This was not a DNS error.
I found the answer when examining IIS where i noticed the website was stopped.
Forcing the website to start, this error message poped up:
IIS was unable to start the site, another site may already be using the port you configured for this site.
Further investigation revealed that one same domain alias has previously added to another domain/host.
Removing this alias from IIS > Website Properties > Website > Advanced > Advanced Website Identification, fixed the problem.
What led me to assume a dns problem mistakenly was that default IP of server is set to mail server by default. so, when a website is stopped the domain points to mail server.
Hope this help for future.

Can I use Bluehost as a host for a .fr domain, Gandi.net being my registrar?

I have a .fr domain registered at Gandi.net.
Yesterday I subscribed to Bluehost for the hosting (being a beginner, it is easier to install Wordpress through Bluehost).
I had to change the DNS on Gandi. I did that and also created a DNS zone on Gandi (not sure if I should have done both). It worked and I started creating my website today.
All of a sudden, the website just switched back to Gandi as a host (since the default Gandi page is showing instead of my Wordpress page).
Now I just read this page:
https://my.bluehost.com/cgi/help/536
Does this mean that I will not be able at all to host a .fr domain through Bluehost?
thanks!
As the article says, get the A record for your server from Bluehost (just ask them for it) and go to Gandi's control panel and set the A record to that IP.
If you also use email on that domain, set the MX record in the same way (ask Bluehost for it and change it in Gandi's control panel).

Resources