83
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
83 points (93.7% liked)

Selfhosted

60366 readers
739 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS