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
Let say i will assign url: to 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.

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.

To access perticuler URL you need to have NAT on router or on firewall with vaild IP address. for e.g webserver IP is 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.

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 to one valid public ip (e.g
2- dns will resolve to
3- when dns reaching, firewall will translat\map to

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

best regards,
Point 1,2,and 3 is correct understanding. In DNS create pointer which will point to url. for e.g create pointer for to
ikhmerAuthor Commented:
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

From novice to tech pro — start learning today.