I am receiving the ERR_CONNECTION_REFUSED error. I have setup a Digital Ocean (DO) droplet and set the DO ns1. ns2. ns3.digitalocean.com nameservers at Godaddy.
Created an A records for mydomain.com and www.mydomain.com and both pointed to droplet's IP.
Check if the DNS is propagating in https://whatsmydns.net. If it's propagating to your Digitalocean IP, then clear your browser cache else try in another network.
Related
I have set up an EC2 instance. Logged in with server and set up apache2 in it.
Example Domain: www.example.com
Created Route53 for example.com and pointed NS record to Domain provider. So, I am going to use Route53 for DNS.
In DNS, I have created A record with EC2 IP.
In apache2 set up VirtualHost for www.example.com, Reloaded apache2 server, and also enable site www.example.com.
Now, I have purchased a certificate from the AWS certificate manager for www.example.com. I have added the CNAME record in Route53 and also validated the domain. The certificate was also activated.
Now, I am going to hit the site www.example.com, It's redirecting to https://www.example.com but the page is giving an error regarding HTTPS.
I have also opened 443 port for that instance.
I think you forget to add a Load Balancer (ALB) or a CloudFront Distribution in front of your EC2 instance since Certificates produced with ACM must be configured on these kind of components. Not possible with EC2. And it can not suggest where to use it.
Hi I have an app hosted in Digital ocean, the goal is to use the newy created subdomain hosted in AWS route53. So my other project is hosted in amazon ec2, with domain name olddomain.io.Now I created a new subdomain as A, sub.olddomain.io and route traffic to digital ocean issued IP address.
Record Name Type Routing Value/Traffic to
`sub.olddomain.io A Simple - 168.173.161.227`
But I cant access the site.The site is actually working by trying the ip address in nginx configuration (in digital ocean server).
Any ideas for this? Is it possible?
Regards
I have deployed a django based website on my AWS lightsail instance. the web address has a port 8000 (:8000). I own a domain on (host =fatcow.com). I have created a hosted zone on AWS and pasted the ns values to my provider(factor)'s Nameservers values. In the amazon route53, I have created a new record with a simple redirect A ipv4 and entered the resolver IP address value - my web address with port value. it doesn't work.
Also, I have read that the redirect will not work for its with port numbers. I have tried redirecting my domain to the static ip, then created another hosted zone record trying to redirect the static ip to the ip+port value - error pops up saying it is not a valid address.
I currently use the development server provided by django as it is a personal website and currently it will not have a lot of traffic - portfolio website.
Also, on my fatcow.com domain settings, the Nameservers are updated and in the whois values, new Nameservers are seen. I have only added the 4 NS values. AWS also created SOA ip values but I was not able to add them to the domain (Inputs were not taken by fatcow ).
In the NSLookup website, I can see NS values and SOA values which are on the AWS hosted zone but A records show none.
Edit: sorry for the confusion. my domain is www.chandradhar.com. I'm not a web dev but I'm trying to deploy a django based portfolio website. I have added Amazon Lightsail DNS nameservers to my domain (host=fatcow.com). the web address is :8000 port. Without the port number, the website isn't loading at all. Only with the port number along the static IP, the website loads. 'A' record isn't taking the port number. I did add a SRV record with the port number(in AWS route 53) but still doesn't work. when checked from the website nslookup.io, the nameservers are updated correctly
Not reproduceable.
> host fatcow.com
fatcow.com has address 65.254.254.33
fatcow.com mail is handled by 10 mail.fatcow.com.
Most probably your changes in DNS have already propagated.
Steps to successfully deploy one or more websites on lightsail AWS when the domain is on another website like godaddy/fatcow.
Create a dns zone in the networking section of the lightsail instance.
Copy the name servers from the dns zone and paste it in the name servers section of the domain provider (fatcow/godaddy) - it might take upto a day for the values to get updated - i used nslookup.io to see if my nameservers were updated.
Create 'A' records and SRV records pointing to the static ip of the lightsail instance.
Install Nginx
Create a simple script with the (name of the website).conf in the conf.d folder/available sites folder
Add the following script:
server
{
listen 80;
server_name domainname.com;
location / { proxy_pass http://ipAdd:PortNum;
}
}
Repeat the same code block with different domains and redirect ports. I guess we can also use 301 redirect to achieve the same.
This might or might not be the proper way of achieving what I required but it'll work.
I have followed the below link instructions:
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-routing-traffic-for-subdomains.html
The server is nodejs it is running on AWS server 80 port.
I have a domain on GoDaddy and want to point that nodejs server as a subdomain from GoDaddy DNS.
Follow the link above and set up the things accordingly.
Using only node server neither Apache or Nginx
but nothing helps me to get out of the issue
Assuming your domain is example.com and you have it on GoDaddy, follow the steps below:
Create a public hosted zone on Route53. This will create a record-set of type NS with 4 values.
On GoDaddy, create a record-set of type NS called subdomain.example.com pointing to all 4 names you got from the 1st step.
I am trying to point subdomain from cloudflare to digital ocean droplet. In Cloudflare, I created a record below but nothing happens do I need to do something more?
Type Name Value
A subdomain Droplet IP