1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I add custom domain to windows server?

Discussion in 'Networks' started by Juelz, Jul 29, 2016.

  1. Juelz

    Juelz Gigabyte Poster

    Top Poster
    of the Month

    1,174
    185
    176
    So when you setup windows server you get the .local domain, how on earth do I add a custom domain? I would guess Id have to go into my domain provider and edit the DNS settings in someway but I have no idea how to get this on the server! If anyone can even find me a step by step article (I looked) it would be a great help.. The idea is to install exchange and create an on prem solution. I have the server with AD already and user accounts.
     
    Certifications: MTA Windows Fundamentals, ITIL Foundation, Mac Integration Basics 10.12
  2. Pseudonym

    Pseudonym Byte Poster

    125
    29
    30
    I'm not sure I follow, but I think if you're wanting to do this you're probably best watching server 2008/2012 videos on pluralsight etc or reading through some books and starting from scratch so you have a better understanding of everything.

    It's pretty complicated to just dive into it.

    When you setup AD you shouldn't just get a default .local suffix, I'm pretty sure you have to configure that during dcpromo unless windows server has drastically changed from 2k8 to 2k12. Off the top of my head there's probably a way to do it with alternate UPN suffixes and CNAME records or something. I still haven't completely wrapped my head around DNS and I've been studying it for ages. Someone else will know the answer, but I do think you'd be best off really studying Active Directory before trying to configure anything relatively complicated. It's a pretty deep rabbit hole.
     
  3. FlashDangerpants

    FlashDangerpants Nibble Poster

    95
    10
    34
    It sounds like you want to add Accepted Domains in your Exchange so that your mailboxes can have an @foo.com and an @bar.net and so on. Otherwise they will have @thingy.local which isn't very internet routable.
     
    Certifications: MCITP Exchange 2010, MCSA Svr 2012
    WIP: Exchange 2013
  4. SimonD

    SimonD Terabyte Poster Moderator

    3,463
    397
    199
    So first of all you need to think about what it is you're trying to do, it's nothing to do with Windows server Domains but it does have something to do with DNS and MX records.

    Now a couple of things you need to be aware of.

    First of all is that routing email is done via MX records, that MX record needs to point to a static IP address that you would be listening for SMTP traffic on, ideally if you have a static IP address on your external interface on your router you would use that, then have a port forwarding rule to push all SMTP (port 25) to an internal address (your mail handling server, in this instance your Exchange server). Now it's important to remember that this MX record needs to be configured publicly with whoever your domain name is registered with, this is because that MX record then needs to be distributed around the net, that won't work with your own internal AD based DNS server.

    Once you have the routing sorted out you're going to need to have Exchange configured to use the right domain name, something you're going to have to look in to yourself because it's not something I have done.
     
    Certifications: CNA | CNE | CCNA | MCP | MCP+I | MCSE NT4 | MCSA 2003 | Security+ | MCSA:S 2003 | MCSE:S 2003 | MCTS:SCCM 2007 | MCTS:Win 7 | MCITP:EDA7 | MCITP:SA | MCITP:EA | MCTS:Hyper-V | VCP 4 | ITIL v3 Foundation | VCP 5 DCV | VCP 5 Cloud | VCP6 NV | VCP6 DCV | VCAP 5.5 DCA
    WIP: VCP6-CMA, VCAP-DCD and Linux + (and possibly VCIX-NV).
  5. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,189
    296
    319
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  6. Juelz

    Juelz Gigabyte Poster

    Top Poster
    of the Month

    1,174
    185
    176
    Thanks guys, yeah I understand all the mx records stuff etc and DNS records I know how to point things at different providers like google apps just bewil
    thanks will have a read, I assume id have to configure the MX record to point towards exchange server though? And Im guessing the mx record would be the IP address?
     
    Certifications: MTA Windows Fundamentals, ITIL Foundation, Mac Integration Basics 10.12
  7. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,189
    296
    319
    A basic setup...

    Configure a new A record. For example mailgate.yourdomain.com to resolve to your routers WAN IP. Then create a new MX record which will be the A record you just created.

    Forward port 25 on your router to the LAN IP of your Exchange server. Configure accepted domains on the Exchange server.
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010

Share This Page

Loading...