By shawgy
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
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
the result for the nslookup command is root@ns1:/# nslookup www.p4bmarket.sd Server: 192.168.0.54 Address: 192.168.0.54#53
why i cannit access my wesite globally
Thanks
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!
what do you by the domain management console of your domain provider,
is tools come by bind9 or get info from ubuntu os
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.
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.