You are on page 1of 14

ITProGuide Microsoft Exchange Server Training

"Publish a Website"
DNS Configuration
DNS Configuration required to a publish a Website in your datacenter for
internal and external access,

ITProguide
ITProGuide Microsoft Exchange Server Training

Try at your place

1 Home Lab (VMware Workstation or Hyper-v)

ITProguide
2 Use Microsoft Azure free Credit
ITProGuide Microsoft Exchange Server Training

Our Goal
Office Network

Public Network

ITProguide
My Lab

Webserver
webserver.m365proguide.com
IP: 10.0.0.4
Roles:

Domain Controller
DomainContoller.m365proguide.com
IP: 10.0.0.5
Roles: AD DS, DNS

ITProguide
1
Prepare two windows Server

Install Domain controller

Join webserver to Domain Controller


Install Webserver

Webserver
webserver.m365proguide.com
IP: 10.0.0.4
Roles:

Domain Controller
DomainContoller.m365proguide.com
IP: 10.0.0.5
Roles: AD DS, DNS

ITProguide
2 Install IIS webserver role in webserver

Customize html (optional)


Configure Internal DNS

Webserver
webserver.m365proguide.com
IP: 10.0.0.4
Roles: IIS

Domain Controller
DomainContoller.m365proguide.com
IP: 10.0.0.5
Roles: AD DS, DNS

ITProguide
3 Configure A Record for Internal access

Create A record in Domain controller for 10.0.0.4 "web"


Internal DNS Configuration

Webserver
webserver.m365proguide.com
IP: 10.0.0.4
Roles: IIS

Domain Controller
DomainContoller.m365proguide.com
IP: 10.0.0.5
Roles: AD DS, DNS

ITProguide
4 Test from browser with new website url web.m365proguide.com
Access from Public

Webserver
webserver.m365proguide.com
IP: 10.0.0.4
0
4:8 Roles: IIS
.
0.0
.
/10
/
tp:
ht

10.0.0.4 Domain Controller


DomainContoller.m365proguide.com
web.m365proguide.com IP: 10.0.0.5
Roles: AD DS, DNS

ITProguide
Buy a Public Domain

Office Network

Webserver
webserver.m365proguide.com
IP: 10.0.0.4
Roles: IIS

Domain Controller
10.0.0.4 DomainContoller.m365proguide.com
web.m365proguide.com IP: 10.0.0.5
Roles: AD DS, DNS Domain Name

ITProguide
Registrar
365
m .
proguide com

Find a domain name registerar - Manage the name reservation Example: Godaddy
5
Buy one domain name- Example: m365proguide.com
Private network Public network

Only communic
ate in the
Scope is local local network Scope is global it is used to communicate
outside the network
It work only in LAN A d m in is t r a
t o r h a v e fu It is used to get in
c o n tr o l ll ternet service
IP - R u n "i p c o n fi g" It is controlled by ISP
Pri v a te
Search what is my IP on
Google.com

ping 10.0.0.4 ping 10.0.0.4

ITProguide
Webserver Domain 42.12.33.13
40.121.37.94

10.0.0.4 10.0.0.5
ISP
Private Network ISP Public Network Private Network
Static IP Dynamic IP

Fixed IP Address IP Changes

C o s tly , B u s Cheap, Comes in home and


in e s s c o n n
e c t io n ADSl connections

ITProguide
Port Forwarding /Mapping

Office Network

Webserver
webserver.m365proguide.com
Port Forward Rule:
IP: 10.0.0.4 40.121.37.94:80 to
:80 10.0.04:80
4
.0.
0
10.
/
p:/
t
ht 40.121.37.94
Domain Controller
10.0.0.4 DomainContoller.m365proguide.com
IP: 10.0.0.5
web.m365proguide.com
Roles: AD DS, DNS
Domain Name

ITProguide
Registrar
ISP 365proguide.com
m

Configure Port forwarding in your firewall,


6
If you are using Azure, then a default Public IP is NAT to your Azure VM

Home lab, Configure it in Home Router.


Add public DNS to Godaddy
Root level
Domain

Office Network
Top Level
Domain

:80
Webserver .13
webserver.m365proguide.com .33
Port Forward Rule: .12
IP: 10.0.0.4 40.121.37.94:80 to /42
:80 10.0.04:80 p:/
0.
4 t
0. ht
10.
/
p:/ 40.121.37.94
t
ht

Domain Controller
10.0.0.4 DomainContoller.m365proguide.com Domain Name
IP: 10.0.0.5
web.m365proguide.com
Roles: AD DS, DNS
Registrar
365proguide.com
m

ITProguide
A 42.12.33.13

ISP

Add DNS 'A' record to Godaddy or your DNS provider


4
Test website from other network web.m365proguide.com
ITProGuide Microsoft Exchange Server Training

Thank you You are Done

ITProguide

You might also like