how to relate a website to a domain?

HOUSSEM MAHJOUBI 286 Reputation points
2022-08-06T08:07:49.083+00:00

Hi members
i have a website that work localy in our domain using iis.
the website is created using asp.net and vb.net and deployed to a server using windows server 2017 and work fine.
now i want make it accessible over the internet :
i have a domain name ( how i can relate each other without any host company )
before i just want to make the domain name by myself without a host company cause i have a server and windows server 2017 i think thats enough for creating a domain name
if not possible can i relate the domain name that i have with the website i have in local domain.
please help

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,931 Reputation points
    2022-08-06T17:14:06.347+00:00

    For a server to accessible from the internet, it’s to have a public IP address. Your isp will provider this address. Once this known, you then should be able to access the server by its public address.

    Now, you need to purchase your dns name from a valid DNS register. Typically this register will allow you to control the DNS records for this name. You just assign your public up address to the cname record.

    https://en.m.wikipedia.org/wiki/Domain_name_registrar

    You probably will also need a signed ssl certificate for your DNS name. You will need to purchase this also. You can create the certificate on you server, you will need to pick a valid authority to sign it.

    https://en.m.wikipedia.org/wiki/Certificate_authority


  2. Sam of Simple Samples 5,516 Reputation points
    2022-08-06T21:15:47.023+00:00

    You can use your local computer as a host if all the following are true:

    • Your local computer will be on all the time
    • You know how to make the computer safe from hackers
    • Your bandwidth is sufficient for all the traffic
    • Your ISP allows you to host a website using their connection

    Otherwise you must have a host for your website. You must configure the DNS using the instructions provided by the hosting company. Typically the hosting company will provide nameserver names for something called NS records for use in the DNS. But read the instructions from the hosting company.

    Also, there are many ways to upload the website. The oldest way is to use FTP. Visual Studio supports something called Web Deploy. The modern solution is to use a Git repository, such as what GitHub provides.

    There is much to learn. I don't know what book to recommend but perhaps you need to find a book to help. you.


  3. AgaveJoe 26,146 Reputation points
    2022-08-08T12:51:15.177+00:00

    if i have a domain name how i relate each other without the interfere of host company

    Contact the company where you purchased the domain name. Typically, they have services to maintain the DNS records as explained above. You'll create an "A" record that maps your domain to the IP address of your server. You get the IP from your ISP.

    If you can get to your current server by IP address then you should be fine. If you cannot access the server by IP address then you have network configuration to setup. This community has no idea how your network is configured so support from these forums is very limited and beyond the scope. Where is your server located?

    0 comments No comments