Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to properly configure DNS and domain mapping to IP?

How to properly configure DNS and domain mapping to IP?

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netsysadminhosting
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    baburman
    wrote on last edited by
    #1

    Though this question does not directly belong to ASP.NET but i still think it is not much irrelevant either. I need to know and configure a few things like DNS, and IP mapping. In fact my client has provided us with a dedicated server which is supposed to host the web application we developed for him in ASP.NET. I have uploaded and can access it through Remote Desktop. It has a static IP. He has also bought a domain name for his site. Now we have to do a few things which i describe below: - Need to configure DNS server on this machine so that the application i have currently uploaded on it, which runs using the ip will use the proper url so that it will be accessed globally with this domain url. - Need to map the provided static ip to this domain. Though i know there are paid services available which map the ip to the domain, can i set it up myself? Or is there any site available which provides this service for free? - Need to implement SSL certificate. This is not an issue if i successfully accomplish above two tasks. Would anybody elaborate the details of how to carry out these things and which authorities/services to call upon if needed (like for getting the domain mapped to our IP etc.). thanks in advnces.

    M P 2 Replies Last reply
    0
    • B baburman

      Though this question does not directly belong to ASP.NET but i still think it is not much irrelevant either. I need to know and configure a few things like DNS, and IP mapping. In fact my client has provided us with a dedicated server which is supposed to host the web application we developed for him in ASP.NET. I have uploaded and can access it through Remote Desktop. It has a static IP. He has also bought a domain name for his site. Now we have to do a few things which i describe below: - Need to configure DNS server on this machine so that the application i have currently uploaded on it, which runs using the ip will use the proper url so that it will be accessed globally with this domain url. - Need to map the provided static ip to this domain. Though i know there are paid services available which map the ip to the domain, can i set it up myself? Or is there any site available which provides this service for free? - Need to implement SSL certificate. This is not an issue if i successfully accomplish above two tasks. Would anybody elaborate the details of how to carry out these things and which authorities/services to call upon if needed (like for getting the domain mapped to our IP etc.). thanks in advnces.

      M Offline
      M Offline
      Matt Cavanagh
      wrote on last edited by
      #2

      Instead of setting up your own DNS server just use a free one. Ive got about 40 domains with everydns.net and ive never had a problem. They are free too. -Once you register an account there at the bottom left theres a text box to add ur domain. Type it in (like mydomain.com without www). -Then click on the domain on the left and it allows you to edit mappings in the center -Near the top theres a current A record and cname record. Delete both. -Then type mydomain.com in the top box and select A record from the drop down, and put the static IP of ur server in the bottom one. Save -Then type www.mydomain.com in the top box, choose cname record, then instead of IP put mydomain.com. Save. -Wait an hour for it to propogate. - Then finally send an edit ticked for your domain and change Nameservers to ns1.everydns.net ns2.everydns.net ns3.everydns.net ns4.everydns.net And ur done :)

      B 1 Reply Last reply
      0
      • B baburman

        Though this question does not directly belong to ASP.NET but i still think it is not much irrelevant either. I need to know and configure a few things like DNS, and IP mapping. In fact my client has provided us with a dedicated server which is supposed to host the web application we developed for him in ASP.NET. I have uploaded and can access it through Remote Desktop. It has a static IP. He has also bought a domain name for his site. Now we have to do a few things which i describe below: - Need to configure DNS server on this machine so that the application i have currently uploaded on it, which runs using the ip will use the proper url so that it will be accessed globally with this domain url. - Need to map the provided static ip to this domain. Though i know there are paid services available which map the ip to the domain, can i set it up myself? Or is there any site available which provides this service for free? - Need to implement SSL certificate. This is not an issue if i successfully accomplish above two tasks. Would anybody elaborate the details of how to carry out these things and which authorities/services to call upon if needed (like for getting the domain mapped to our IP etc.). thanks in advnces.

        P Offline
        P Offline
        Perry Holman
        wrote on last edited by
        #3

        Usually, the host provider (saying the virual space provider) will give you a host management tool on his website and of course he will tell you how to set DNS via their tools too. By using the tool it is very easy to do mapping between a IP and a domain name.

        Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

        B 1 Reply Last reply
        0
        • P Perry Holman

          Usually, the host provider (saying the virual space provider) will give you a host management tool on his website and of course he will tell you how to set DNS via their tools too. By using the tool it is very easy to do mapping between a IP and a domain name.

          Welcome to www.softwaretree.net! This website is generated completely by static html pages transforming technology. You can find many excellent audio/video tools there!

          B Offline
          B Offline
          baburman
          wrote on last edited by
          #4

          In fact we are provided with full access to the machine since it is a dedicated server. So there are no services available from the provider. I have setup DNS on the server taking help from a couple of articles. The A, NS and MX records are there so i think (though am not sure) that DNS is setup fine. The problem is that when i enter the url (not the ip) from the browser from within the server (accessing through remote desktop) the site runs fine but when i give the same url from my own machine which is far from the server it does not recognise the url. I am able though to access the site through the IP. I guess there's something to do to tell the outside world about this DNS server we setup so that URL from any part of the world will get this site.

          1 Reply Last reply
          0
          • M Matt Cavanagh

            Instead of setting up your own DNS server just use a free one. Ive got about 40 domains with everydns.net and ive never had a problem. They are free too. -Once you register an account there at the bottom left theres a text box to add ur domain. Type it in (like mydomain.com without www). -Then click on the domain on the left and it allows you to edit mappings in the center -Near the top theres a current A record and cname record. Delete both. -Then type mydomain.com in the top box and select A record from the drop down, and put the static IP of ur server in the bottom one. Save -Then type www.mydomain.com in the top box, choose cname record, then instead of IP put mydomain.com. Save. -Wait an hour for it to propogate. - Then finally send an edit ticked for your domain and change Nameservers to ns1.everydns.net ns2.everydns.net ns3.everydns.net ns4.everydns.net And ur done :)

            B Offline
            B Offline
            baburman
            wrote on last edited by
            #5

            roguemat! Thanks for the reply. Though i still prefer to setup my own DNS server, but currently i have got everydns.net. Thanks again. Now there's one problem. I need to setup mail server to send/receive mails. I have created a virtual SMTP server mail.mydomain.com in IIS. There are a couple of things: - Where do i create the mail accounts under this server? - How do i tell everydns.net about this mail server? Remember i have created an MX record mail.mydomain.com on everydns.net and created mail server with the same name in IIS.

            M 1 Reply Last reply
            0
            • B baburman

              roguemat! Thanks for the reply. Though i still prefer to setup my own DNS server, but currently i have got everydns.net. Thanks again. Now there's one problem. I need to setup mail server to send/receive mails. I have created a virtual SMTP server mail.mydomain.com in IIS. There are a couple of things: - Where do i create the mail accounts under this server? - How do i tell everydns.net about this mail server? Remember i have created an MX record mail.mydomain.com on everydns.net and created mail server with the same name in IIS.

              M Offline
              M Offline
              Matt Cavanagh
              wrote on last edited by
              #6

              Im presuming you are using windows server? In answer to your second point, thats all you need to do. When a mail gets sent to your domain it gets the mx record and thats that. So that side is fine. To the first one, you will need to just setup emails in the mail server. Ive never used windows mail server but I presume that it will have a link to it(to set it up and create addresses) in that popup window that opens by default when you turn on. I reckon the best thing to do will be to set a global catcher(one email address that catches all emails if the address its for doesnt exist) and then send an email to meep@yourdomain.com and see if it gets it. Hope this helps, even just a little. :)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups