Can i define dns for local web server and map to one of public ip ?

Dear ,

I have dns server which could resolv both public and internal ip address. there is one webserver with local ip, eg 192.168.0.11.
Let say i will assign url: www.myweb.mycompany.com to 192.168.0.11 which will access from local subnet and also from internet.
do i need to have a public ip for this requirement ? which interface should i apply public ip address to ? please note that dns is in dmz zone.

thanks,
ikhmerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vikasjusCommented:
To access perticuler URL you need to have NAT on router or on firewall with vaild IP address. for e.g webserver IP is 192.168.0.11 then on router create a NAT rule with local IP to public IP.
In DNS you need to create host record which will point to this IP and URL.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ikhmerAuthor Commented:
thank for your reply! well, please correct my understanding below:
1- on firewall, we need to nat 192.168.0.11 to one valid public ip (e.g 195.200.111.1)
2- dns will resolve www.myweb.mycompany.com to 195.200.111.1
3- when dns reaching 195.200.111.1, firewall will translat\map to 192.168.0.11

Is it correct ? anyway to work around logicaly in dns server to resolve 192.168.0.11 and map to public ip 195.200.111.1 without nating ?

best regards,
0
vikasjusCommented:
Point 1,2,and 3 is correct understanding. In DNS create pointer which will point to url. for e.g create pointer for www.myweb.company.com to 195.200.111.1
0
ikhmerAuthor Commented:
thanks,
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.