Ok i have a static ip, and one ubuntu box.
I have installed virtualmin and all seems ok (no errors or warnings)
I have registered the domain (lets call it pita.co.uk) with godaddy, yeah hindsight.
In the a record on godaddy I added ns1 and my ip address. I also added ns2 (and changed the @ to point to my ip address)
Have it a couple of hours and I could connect to pita.co.uk.
Everything good so far, obviously I am seeing /var/www/
I add my a records ns1 and 2 pointing to my internal ip (virtual)
I can ping ns1.pita.co.uk it shows external address (godaddy dns?)
I browse to pita.co.uk and I still get /var/www not /home/pita/public_html/
Any hints as to what I am doing wrong? I just want to host the one personal domain (at the moment)
If I use lynx and browse internally to it’s virtual ip I get a 403 I presume that’s expected