I currently have a linux virtual machine that is setup with my school, using one of my school's domains. I recently bought a domain with GoDaddy, and I am interested in switching my virtual machine over to my domain. I'll be honest, I don't really know the first thing about configuring a DNS.
On the VM already, I have the apache server setup, so I know it is properly connected to the web using the domain I was given by my school.
Obviously, I know I'll have to change some of the basic stuff like the /etc/hosts file to switch to the new domain, but what else will I have to do in order to get my VM switched to the new domain? Thank you.
All you need to do is, add DNS records to point to the VM.
First create a DNS zone file with the provider from where you bought a domain.
Go to dns settings, create a A record and point it to the VM by adding the IP address of the VM.
Once this is done, wait for the TTL you have set, and now you should be able to access the VM from the domain.
Related
I have been at this since last couple of weeks. After tiring efforts leading to nowhere, I am posting here.
I have a Website built and hosted in IIS locally. I just bought domain name from GoDaddy. I have my computer's public IP where the website in IIS is present. What are my next steps so that I can keep my computer as server and link with domain name? So that website is accessible publicly through domain name.
I saw a lot of posts with Web Hosting in Azure or other places, do I HAVE TO buy and host to make my site public?
I am a novice website builder and have very limited knowledge about this.
first you need make sure your sever is secured, only open necessary ports
go to another computer, in browser input public ip to see if you can open your webpage
then in Godaddy you can add A record for your domain, to point your domain to your public IP, refer to this GoDaddy document: https://ca.godaddy.com/help/add-an-a-record-19238
If you are not comfortable or don't resource to do these, I suggest you host on Azure or other cloud providers
You could host your application in either Azure VM or your local machine. After all, Could VM should be more convenient because you don't need spend a lot of time to handle network issue and you don't need physical space.
When you decide to host your application locally, you have to ensure your are using windows server OS, otherwise, you have 10 concurrent request limit.
Access the application via domain is quite simple.
You need to enable port like 80 in windows firewall.Promise your server are in DMZ and can be accessed externally
Create IIS binding header with null domain and your public address
Try to access your website via your public IP address
Point godday domain to your public IP address
Add your domain to your Site's binding host header->host name field
If you decide to host your application in IAAS like Azure VM, then you have to create inbound rule for your port number and allow port in windows firewall. You also have to point your godday domain to your cloud VM's public IP address and create IIS binding with your domain. Finally, you should be able to access your website.
I had bought my domain name through namecheap. Recently I set up MS Azure and created a VM machine which runs apache and wordpress. The VM has an IP address which is pointing to my domain name. A few days ago I removed namecheap hosting and transferred everything to azure. BUT for some reason, my domain quantiv3.com keeps switching from the old namecheap IP address to the new azure IP address. This can be seen when doing a DNS look up on mxtoolbox.com... I can't figure out what i'm doing wrong. Could anyone help? Thanks
You have 8 Name Servers listed for your domain.
4 are reporting one IP address and the other 4 are reporting another IP address.
The solution is to first correctly configure the correct DNS servers at your Domain Registrar. Then correctly configure the correct DNS servers pointed to by the Name Servers.
Typically you only configure one set of Name Servers. For your domain you have two sets of Name Servers. The first is provided by Microsoft Online (Office 365) and the second is provided by Azure DNS. Pick one or the other and correctly configure your DNS Registrar. If you decide to keep both sets, then you must configure both sets to be identical except for the SOA record.
Sent from my Windows 10 phone
I have a problem in seeing up a custom finding to reach the website which is running on Azure VM.
Recently I have set up a new VM on Azure Virtual Network and let it run an php application as IIS. I have successfully configured custom DNS label so I can reach to the website with "http://hogehoge.japaneast.cloudapp.azure.com".
However, I can't well get a way to set up a custom domain, for example, "http://hogehoge.net". I made some search and managed to create a new DNS Zone, and then I also added a CNAME record, which is shown in the attached image, to it.
But I can't reach to the site. I know it is probably matter of course since I didn't configure DNS registrar. Also I haven't yet purchased the domain.
I think I made some mistake in my procedure. Could anyone point out what is wrong?
The problem is that your machine is not using the Azure DNS nameservers by default. You should add the CNAME/A records in your domain registrar's records, not in Azure DNS.
Currently I own a new VPS server and running my websites. For example I own www.auraquotes.com and that is running in this VPS server.
Currently I have issues with my hosting provider and I have switched to ovh unmanaged service provider. As the name 'unmanaged service provider' they will just help me in giving physical machines and that is all they will help.
how will I setup DNS server in my new VPS machine and adjust the nameserver settings appropriately?
Venkat.
DNS is a complicated service to set up and run, it is far easier to use an online DNS service, who will give you a nice web front end to configure things with.
The process is largely similar though, you need to configure your domain registrar with the name of your DNS server, or your DNS provider.
From there you configure the records you need and everything should work!
Okay, can't seem to find a great article or info on this. My client purchased a domain for his company (domain.com) through Network Solutions. He has a local server running Windows 2008 R2 that he wants to host his company's website on. I've created the website and have it running with Apache on localhost. The server does have a static IP, but when I visit it, I'm prompted for credentials (user, password) which is expected as it's meant to be protected.
My question:
How would I point the domain to the website on his server?
From what I've researched, I have options that include:
Pointing the domain to the static IP (what about the credentials?)
Creating A and CNAME records for the DNS server on Network Solutions
Setting up a local DNS server w/ Active Directory on the Windows machine
Creating a couple name servers that would tell Network Solutions
where to send the domain
It's safe to say I'm effectively confused, so any help would be very much appreciated.
So basically you have to associate the domain name to the IP address, and that is done using DNS.
I'd suggest option 2 where you let Network Solutions manage the DNS, and you create an A record for www.domainname.com that points to the IP address on your server. Keep in mind it might take 24-48 hours for this new record to propagate across the internet. Take a look at http://www.networksolutions.com/support/dns-manager-advanced-tools/ and http://www.networksolutions.com/support/a-records-ip-addresses/
Regarding the credentials prompt, I assume you are using IIS and so you'd want to check the Authentication settings for the site. If you want anonymous access to the site, you would enable it there.