D
D
Drunar2019-03-14 16:57:14
Domain Name System
Drunar, 2019-03-14 16:57:14

Hosting at home (a question about DNS and NS)?

Good day. I want to host a website at home (hosting is not an option, since you need a lot of disk space to upload a large photo to it, for work).
installed on Ubuntu 18.10 apache, muscle, php, and other necessary things to work in the webasist CMS.
I have a static IP, and the "stub" of the site is available through it. Registered and bought a domain.
But I don’t understand how to proceed further, how to tie it to co-desire. (before that, I dealt with a hosting domain a long time ago, and everything was done in the hosting panel, NS records were registered, and so on)
To be honest, I don’t even understand which way to google further and what to understand.
Will it be enough for me to install Bind ?
The domain name registrar wrote "Domain name registered. Support registered with default settings on our ns."
I need to figure out how to do it so that when I contact my domain name, the domain refers to my ip address.
Help with advice on what to read, and what needs to be adjusted further, thanks in advance for the answers.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Pavel Mezhuev, 2019-03-14
@Drunar

The domain name has been registered. Support was registered with the default settings on our ns.

Find the section on managing NS/DNS servers/zone/records in the registrar's control panel (it may be called differently for different registrars). There you will need to add an A-record similar to the following:
Where "example.com." - your domain, pay attention to the dot at the end. And "1.2.3.4" is your static IP address of the home server. There will be no immediate effect. How long exactly to wait? Depends on the settings of the NS servers.
If you want the site to be available also at www.example.com or any other address, then you will need to add additional records by analogy or use a CNAME record:
www.example.com. CNAME example.com.

E
EYPPNM, 2019-03-14
@EYPPNM

After changing all the settings, you have to wait 2 days for the changes to take effect, so you need to press everything carefully.

C
CityCat4, 2019-03-15
@CityCat4

Next:
- either buy the primary zone service from the registrar (it varies from registrar, someone may probably give it anyway) and fill it with the necessary records
- or install bind, configure it and register the IP of the computer on which it is deployed as primary server
In both cases, I also recommend buying a secondary zone, usually they take it directly from the registrar, if he gives it.

A
alekssamos, 2019-03-15
@alekssamos

It seems that you need two IP addresses to keep your server running. Because both the primary server and the secondary must be specified. And about the time when I registered my domain, it was available in two hours. A dynamic dns provider - in one minute. Well it is. In theory, yes, either use the built-in registrar servers, or give it all to some Yandex dns.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question