Link to home
Start Free TrialLog in
Avatar of ikhmer
ikhmer

asked on

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,
ASKER CERTIFIED SOLUTION
Avatar of vikasjus
vikasjus
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ikhmer
ikhmer

ASKER

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,
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
Avatar of ikhmer

ASKER

thanks,