Jump to content

Domain name how do I use it ?


abarbarian

Recommended Posts

I am trying to set up a Pi with a docker container running Ghost blogging so I can run a blog from home. Seems the best way to get the Pi to be available from the internet is to use a domain name.

So I bought one from Name.com and need some advice on how to set it up for use.

 

JMPl38b.png

 

Do I need to do anything here

 

7gN4I7y.png

 

or here

 

VKn6G6l.png

 

An do I need one of these dynamic DNS services

 

https://www.dynu.com/en-US/

 

https://www.duckdns....=allied-telesis

 

I like the look of the Duck DNS as you can do a simple install and manage it from home. Am not sure if I need the service or if I should install it on the Pi or in the Ghost container on the Pi.

First I need to know if I need the service or not. I am a tad confused.

 

Is there anything else I need to do to be safe. I have read around the subject and have an idea what is what but need some guidance on the finer points.

 

Thanks in advance folks.

 

:unsure:

 

I have had the Pi/Docker/Ghost running and can access a ghost blog from within my LAN. I have given the Pi a static ip on my router to make ssh'ing easier.

Edited by abarbarian
Link to comment
Share on other sites

securitybreach

Well since you have the domain name, you just need a server to host it. If you are going to use Duck DNS, then yes, you will need to have the service running on the machine that is going to host the website. That way if the IP changes, you will be able to still keep the same ip address

 

Actually if you are running this from behind a router, you will need Duck DNS (or Dynamic DNS) running on the router itself. Most routers have the option to add DynamicDNS to the configuration. https://wiki.archlin...php/Dynamic_DNS

 

If DuckDNS was just running on the machine, then the router would never get the packets and it wouldn't know where to route them either. Basically you need a Dynamic DNS service to run on your router or have the machine that is running it directly connected to the internet for it to translate your IP to a dynamic one.

Link to comment
Share on other sites

V.T. Eric Layton

If you can find a pal to let you piggy-back on their host/server, you'll just need to set up URL forwarding. This will make it so when anyone clicks on an an-archy.rocks line somewhere, it will automatically take you to your website documents being served on your pal's host/server. If stealth mode is enabled on your friends server, your visitors will not see anything in the address line when the visit your site, but your own domain.

 

And, if you can't find a pal to help you out, hosting services are relatively inexpensive these days. Just search for "hosting services UK" on Google and you'll get this...

 

https://www.google.com/search?q=hosting+services+UK&oq=hosting+services+UK&aqs=chrome..69i57&sourceid=chrome&ie=UTF-8

Link to comment
Share on other sites

So are you saying that I do not need to make any changes at Name.com ??

 

An I do need to make changes to the Pi or the router ?

 

I can use DDNS from my router but am not sure what to put where.

 

V6tkPXU.png

 

Also I thought I could set up the DDNS on the Pi as instructions are given at Duck,

 

https://www.duckdns.org/install.jsp?tab=allied-telesis

 

Still slightly confused but getting there. :breakfast:

Link to comment
Share on other sites

If you can find a pal to let you piggy-back on their host/server, you'll just need to set up URL forwarding. This will make it so when anyone clicks on an an-archy.rocks line somewhere, it will automatically take you to your website documents being served on your pal's host/server. If stealth mode is enabled on your friends server, your visitors will not see anything in the address line when the visit your site, but your own domain.

 

And, if you can't find a pal to help you out, hosting services are relatively inexpensive these days. Just search for "hosting services UK" on Google and you'll get this...

 

https://www.google.c...chrome&ie=UTF-8

 

I know about web hosting services. However I would like to run my Pi as a web server from home as it would cost nothing. I just need some help setting it up. :'(

Link to comment
Share on other sites

Did Name.com assign DNS settings to your name? As mentioned above, check your router to see if it supports/allows Dynamic DNS .

 

Hi I posted some screen shots from Name.com in post 1 and a screen shot of me router in post 4.

 

Looks like the router can do DDNS but it only gives two providers, dlinkddns.com(Free) and DynDNS.org(Free). However it looks like DyDNS has stopped offering free services since 2014

 

http://dyn.com/blog/why-we-decided-to-stop-offering-free-accounts/

 

Well I managed to sign up at dlinkddns.com(Free) but I had to make a host name ************.dlinkddns.com. It would not let me use my domain name. So will I be able to use my domain name or will I have to use the ************.dlinkddns.com name to access the web from my Pi server ?

 

I am well and truly confused now. :ermm:

Link to comment
Share on other sites

V.T. Eric Layton

To run a server from home, you'll need to pay extra (at least in the States) for your ISP to provide you with a static IP.

 

Anyway, since I don't know monkey nuggets about this Ducky stuff y'all are talking about, I'll just step back and let folks who actually know stuff help you out here. :)

Link to comment
Share on other sites

securitybreach

Eric, he is basically wanting to run a dynamic IP service which will give you a static IP that your dynamic one will point to. It basically monitors for an IP change and then resolves theirs to yours.

 

Personally I have always just used my VPN to host my stuff since the IP never changes.. The last time I used a dynamic ip service was probably back in 2005 or so.

  • Like 2
Link to comment
Share on other sites

At Name.com setup, what does the "URL Forwarding" show?

(i had no idea setting a DynamicDNS was such a hassle, thought it was much simpler)

Edited by crp
  • Like 1
Link to comment
Share on other sites

securitybreach
(i had no idea setting a DynamicDNS was such a hassle, thought it was much simpler)

 

Well that's not difficult once you choose which Dynamic DNS provider you want to use. After than, you just need to do some port forwarding on your router to access the server from the outside.

Link to comment
Share on other sites

securitybreach

The problem is that most of these services cost money for using your own custom domain. They might offer yourdomain..com for free instead of yourdomain.com which may cost $30 a year.

Link to comment
Share on other sites

securitybreach

That's why I just finally started using a VPS to host my stuff. Plus you basically have a 24/7 server available where you decide the distro, have full root access, etc. It's like having your own dedicated cloud machine.

 

I have had my Linode VPS (running Archlinux) for almost 7 years now and couldn't be happier. Plus they give you free upgrades when they upgrade their hardware.

Link to comment
Share on other sites

Another one I used to use is called No-IP but I am not for sure if they provide it with custom domains or not. https://www.noip.com/

 

You have to use their free " hopto.org " or suchlike ending for a host name with the free service. You can use your own domain name with the paid up service.

 

My thinking is that the set up will be easier to run from home, once it is set up of course. :fish:

Link to comment
Share on other sites

At Name.com setup, what does the "URL Forwarding" show?

(i had no idea setting a DynamicDNS was such a hassle, thought it was much simpler)

 

nd1sUW7.png

 

Here is the entry for URL forwarding from Name.com, I don't think that is what I need though.

 

Do I need to alter or add anything to the DNS Records or Nameservere sections as shown in my first post ?

 

:breakfast:

Link to comment
Share on other sites

V.T. Eric Layton

URL forwarding (often known as domain forwarding) is what I do with my domain. When you click below on my siggy where it says "vtel57.com," you are taken to my website. However, my website is hosted on someone else's server/domain, so what URL forwarding allows you to do is to use your own domain.com address regardless of where your website is being served. If the person you know who is allowing you to piggy-back off their server allows "stealth mode," then when you visit the page your domain points to, it only shows your domain URL; in my case, vtel57.com. However, if they do not allow stealth forwarding then your address of your webpage will be something like your_pals_domain.com/your_domain.html.

 

 

 

 

 

 

 

 

 

 

.

Edited by V.T. Eric Layton
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...