Hi there I have this problem on how to access the website/server without using IP address
im using xampp as a trial for this. im always using IP's instead of names. I would like to know more on how to customize my Public Static IP(121.xxx.xxx.xxx) to name(www.mysite.localserver) like that

Dani AI

Generated

Following up on ’s setup (XAMPP on Ubuntu 14.04) and ’s note about DDNS, here’s a concise, practical plan and the lowest‑cost options to make a name like www.mysite.com point at a home server.

  1. Pick how the name will be resolved
  • Buy a real domain and point an A record at your public IP (best for a professional name).
  • Use a free subdomain/DDNS provider (example: DuckDNS) if you want zero domain cost; update it automatically when your IP changes. (DuckDNS).
    If you own a domain you can also host its DNS at Cloudflare and update the A record via their API instead of using a shared DDNS provider. (see Cloudflare API docs).
  1. Keep your server reachable and consistent
  • Give the server a fixed LAN IP (DHCP reservation), then forward ports 80 and 443 on your router to that IP. Use your router UI to add the forwarding rule and confirm the port is reachable externally. Tools and clients such as ddclient automate updating DDNS/registrar entries when your IP changes. (ddclient docs).
  1. HTTPS and ISP port limits
  • Let’s Encrypt is the free, automated way to get TLS; the common HTTP‑01 validation requires port 80 (or use DNS‑01 if you cannot open port 80). (LetsEncrypt challenge types).
  • If your ISP blocks inbound HTTP/HTTPS, you can avoid opening ports by using an outbound tunnel (Cloudflare Tunnel / cloudflared) or a small VPS as a reverse proxy. (Cloudflare Tunnel).

Quick example — DuckDNS update (can be run in a cronjob on the server):

curl "https://www.duckdns.org/update?domains=yourname&token=YOURTOKEN&ip="

Finally: Ubuntu 14.04 is past standard support; running an internet‑facing service on an out‑of‑support OS increases risk — upgrade or enable Extended Security Maintenance before exposing services. (Ubuntu ESM info). (Ubuntu 14.04 ESM info)

Checklist: register/choose DNS, automate updates (DDNS or API), set DHCP reservation, port‑forward & firewall rules, get TLS (HTTP‑01 or DNS‑01), and test externally.

Recommended Answers

All 3 Replies

Sorry for the late reply.

I just want to view my site outside my home but i want to set my ownsite name. Like www.mysite.com is that posible? I heard of No-ip.com but it comes a subdomain. and using my routers Dynamic_DNS cost some money. is it possible to have my site free?

You'll have to google up free dynamic dns offers but your site is indeed free (somewhat) since you are hosting it. Some folk forget that powering some old 200+ Watt desktop costs money too. Surprise? I took down my old web server years ago for that reason and just remote access a drive on my router now. The Watts for that is about 0.5 Watts or less.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.