var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Why do I need a DNS?
Right now I have two URLs, they point to the same IP address of my VPS. Apache then points them to the correct directory.
So what do I need a DNS for? Named seems needlessly complicated.
I'm asking this because I'm signing up for a new VPS and they're offering to setup the DNS. The new host also has Cpanel, where my current host doesn't.
Maybe it are two other ways to park a domain (don't know), I use DNS
As long as there is DNS "somewhere" that points your domains and the www, ftp etc to your correct IPs, you do not need to run DNS on your VPS.
But, everytime you add a new domain, there has to be DNS for it that properly points to an IP.
DNS is what links your domain name to an IP, without it your domain wouldn't resolve or go anywhere.
Yes apache works out which domain you requested, but if you just access the IP directly it won't have a clue
█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: [email protected]
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).
Ahhh. So, setting up my URL with godaddy is essentally paying someone else to deal with all the DNS issues. Got it.
Technically - yes.
The problem is what if you want to host a domain that doesn't allow pointers or isn't with Godaddy.
You would then need to have your provider running nameservers on your behalf or setup your own.
It's a simple enough process - and worthwhile in my opinion.
— For businesses with more important things to do than worry about their hosting.
I have a related question
I've just got a VPS running cPanel.
I've previously signed up at a DNS hosting company that takes care of all my DNS hosting. So basically I do not need cPanel to take care of this.
My problem is that cPanel (as far as I see it) insists of creating the DNS entries when I create a new account.
At the moment I have gotten around it by disabling BIND and adding two dummy nameserver domains (that doesn’t even exist) into cPanel's setup "Primary" and "Secondary" nameserver fields.
I know this is not the right solution, but the fix works. When creating a new account via cPanel it says that BIND is turned off and just skips the DNS creation steps.
But is there another way to do it better/properly?
And will my current fix give me any problems later?