86
submitted 3 years ago* (last edited 3 years ago) by starkcommando@lemmy.world to c/selfhosted@lemmy.world

I would like to host my own web server with a domain name I purchased but my public IP isn't static.

you are viewing a single comment's thread
view the rest of the comments
[-] kamin@lemmy.kghorvath.com 3 points 3 years ago

My IP isn’t technically static but it hasn’t changed in the 3 years I’ve been with this ISP.

[-] calmluck9349@infosec.pub 3 points 3 years ago

This. But I use namecheap and the built in tool on pfsense to keep an A record up to date if it ever changed.

[-] kamin@lemmy.kghorvath.com 1 points 3 years ago

I should automate something like that too. I just have one A record pointing to my IP and all my subdomains CNAME’d to that so that if it ever changes, I just have to update that one record.

[-] starkcommando@lemmy.world 1 points 3 years ago

I have NameCheap as well. I was trying to set this up with the ddclient on OPNSense but the logs suggested it couldn't connect to NameCheap. What do you need to authenticate other than the DDNS passcode supplied by NameCheap?

[-] calmluck9349@infosec.pub 1 points 3 years ago

Oof. Set this up years ago now..

Add the hostname IE public Add the domain name IE starkcommando.com

This will be public.starkcommando.com

Leave username blank (this was a gotchya for me, if I recall correctly)

Then put the generated namecheap ddns password (not your account password) that matches the record in.

All set.

this post was submitted on 02 Jul 2023
86 points (94.8% liked)

Selfhosted

59794 readers
507 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS