Hosting a website but public ip keeps changing - ip

I am currently hosting the site theviewbeyond.co.uk on a server at home, the issue is my public IP will change every month or so.
I purchased the domain from godaddy, is there anything i can do to make godaddy update my IP automatically or somehow configure DDNS to prevent this ?

Have a look at wikipedia: You need a DNS service, but it has to be dynamic.
No-ip (and others) offers free dynamic DNS, but only for subdomains of their domains.
Others offer free DNS hosting, but are not dynamic. he.net seems to offer free DNS hosting and can be marked as dynamic. At the end of the wikipedia article are some other links to free DNS hosting, but do check if you accept dynamic updates.
Finally, you need install the appropriate tool in your server to detect IP changes, and to send the update to the DNS host.

Related

How to prevent user access to IP address for a website hosted in GCP?

I have a Wordpress website (Bitnami) thats hosted in Google Cloud Platform. The IP address is something like: 33.33.33.33. My domain is hosted on Google Domains and has 2 nameservers pointing to Cloudflare. On the Cloudflare DNS settings, I have 2 A records, one is ftp and the other is something like 'mywebsite.com'. I also have a CNAME which is www mywebsite.com.
I am able to hit the full URL of my website but I also notice I can enter the IP address and it also works and loads the website. Is it possible to prevent acccess to 33.33.33.33 and only allow the full URL?
Create VPC Firewall Rules that only allow Cloudflare IP addresses.
Consult this document for the current Cloudflare IP list.
Google Cloud VPC firewall rules overview
Note: Cloudflare does not support FTP, so you must point your DNS resource record for FTP to your server's IP address and not through Cloudflare. I recommend that you do not use FTP. Use SSH/SFTP for file transfers. Configure WordPress so that installing plugins, uploading images, etc do not require FTP. FTP is not encrypted which means your login username and password are sent in the clear.

How to host the main domain and subdomains at 2 different hosting sites from godaddy?

I have bought the domain from godaddy.
And I have designed the UI which is the main site hosted at say webflow or wordpress.
Now I want to host the dashboard of the main site to the subdomain of this main site from heroku.
How to achieve that?
Domain bought: goDaddy
main site: abcd.com
sub domain: dashboard.abcd.com
main site hosted at: wordpress
sub domain hosted at: abcd.herokuapp.com
Now I want to change the subdomain abcd.herokuapp.com to dashboard.abcd.com
I tried creating an 'A' record at goDaddy DNS settings for dashboard.abcd.com but it wants me to enter an IP address of heroku but when I created a DNS Zone in Heroku for dashboard.abcd.com, it doesn't seem to provide an IP address. It only provides the DNS Target value.
I laso tried to put the abcd.herokuapp.com in Goddaddy dns settings in Points To field but it doen't accpets it. It requires an IP address.
Heroku uses dynamic IP address for the dynos so it’s impossible for Heroku to provide an IP address instead it provides a DNS target. Unfortunately GoDaddy doesn’t support ALIAS/ANAME records. You might want to check out other DNS providers who support ALIAS/ANAME out of the box to configure the APEX domain.

Registered at GoDaddy with NameSilo DNS

If domain.tld is registered at GoDaddy and its default GoDaddy nameservers are changed to use NameSilo's nameservers, is it possible to manage domain.tld's dns at NameSilo?
Yes, if you changed the DNS servers, you may update DNS records on the side of Namesilo.
Just keep in mind this tip: your DNS records are managed on the side of DNS servers. If your domain name is pointed to GD's default nameservers, then you may update the records in the account with GoDaddy. If the domain name is delegated to the DNS servers of Namesilo - then in the account with them.
Also, depending on whether you have a hosting package or not, you may manage DNS records either in the account itself or in cPanel.
Normally, if you purchase a cPanel based hosting, you may update DNS settings in 'DNS Manager' (aka Domain Name Zone File) of your cPanel.
Registrars usually do not provide DNS for domains not registered with them. So if you have the domain at Godaddy, you need to use Godaddy NS (domaincontrol) or find a nameserver provider like Cloudflare. Exception is when you do hosting, in that case you can use registrar's NS for domains not registered with them.

IIS: published asp.net app replace ip with domain name

I have already rent an online server.
I'm installing IIS on it, hosting a website on it.
to access the site from internet, I must type: {ipaddress}/siteAppName
My question is how to use a name instead of ip address? should I buy and register a new domain name? if that the case how could I configure this ip with a new domain name?
More Details:
I am renting a dedicated server... so I have full access to the server as I'm hosting my website on it. but I don't have a domain name. either from local machine or remotely I can successfully access the hosted website using the ip address of my server/webAppName.. but the problem is that I'm trying to get ssl certificate, but the generated CSR is rejected from all SSL suppliers because the url is not accepted, and I think that it's not accepted because of using IP instead of a domain name. I mentioned many self-conclusions here, but I'm not sure about any of them... That's why I'm asking.
It depends on your hoster but most allow you to use a registered domain name. They should have instructions on how to set this up.

Is it practical to run a WordPress site at EC2 using Route 53, without an elastic IP?

I'm running five wordpress sites (#EC2) all having it's own elastic IP tied to a proper domain name. I reached the max limit when wanted to launch another site (another domain).
Besides of the obvious; asking for more EIPs, can I use route 53 and pointing to the dynamic EC2 hostname?
As far as I understand this will destroy/mess-up all internal links of the wordpress instance, the moment I reboot or stop/start the instance, because it gets a new IP/hostname and all image-links of wordpress by default are absolute for SEO reasons.
Has anybody found a solution to this, or is my only option to ask for more EIPs?
In my opinion, requesting more EIP's is going to be the easier way to go.
You can set up your DNS to point the public ip of any instance, if its not an eip, it will change if the instance ever stop/started again. In which case you need to update DNS.
Wordpress doesn't really care what the hostname or ip address is of the instance. It cares what hostname you want it to respond to. Even if the underlying ip changes, as long as the hostname records are updated to the new IP, you wont have any issues.

Resources