Question

where can i change my external DNS entry from local ip to external ip

dear all

Good morning

my web site can access on my local network by the domain name perfect as (www.p4bmarket.sd or p4bmarket.sd or by ip address 192.168.0.54) but from out my local network ie globally cannot access it can access by the global ip (196.223.156.148) and work perfect

i am using linux ubuntu 16.04 server on vmware server and the domain name configre by BIND9

the result for the dig command is

root@ns1:/# dig p4bmarket.sd

; <<>> DiG 9.10.3-P4-Ubuntu <<>> p4bmarket.sd ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57556 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;p4bmarket.sd. IN A

;; ANSWER SECTION: p4bmarket.sd. 604800 IN A 192.168.0.54

;; AUTHORITY SECTION: p4bmarket.sd. 604800 IN NS ns1.p4bmarket.sd.

;; ADDITIONAL SECTION: ns1.p4bmarket.sd. 604800 IN A 192.168.0.54

;; Query time: 0 msec ;; SERVER: 192.168.0.54#53(192.168.0.54) ;; WHEN: Wed Aug 22 08:32:18 CAT 2018 ;; MSG SIZE rcvd: 91

the result for the host command is root@ns1:/# host p4bmarket.sd p4bmarket.sd has address 192.168.0.54

the result for the nslookup command is root@ns1:/# nslookup www.p4bmarket.sd Server: 192.168.0.54 Address: 192.168.0.54#53

www.p4bmarket.sd canonical name = ns1.p4bmarket.sd. Name: ns1.p4bmarket.sd Address: 192.168.0.54

why i cannit access my wesite globally

Thanks

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

what do you by the domain management console of your domain provider,

is tools come by bind9 or get info from ubuntu os

port forwarding is working proper --------------------------------------------------------------look at the setup info

Identify Open Ports on Your Internet Connection your external address 196.223.156.146

open port finder Remote Address
196.223.156.148

Use Current IP Port Number 80

Open Port 80 is open on 196.223.156.148.

about

Hi there,

Inside of the domain management console of your domain provider, you can create records towards your server. You should create an A record that forwards your domain to 196.223.156.148

If this is a local server somewhere in your basement at home, you also need to create a NAT entry inside of the NAT table in your router, that would forward port 80 from the outside to your webserver port on the inside running on 192.168.0.54 . This is usually called port-forwarding.