Can I connect a single domain to two hosting service servers? - service

If I do have a domain and hosting from an ISP, can I subscribe with another ISP for another hosting service?
By another hosting service (secondary service), I refer to act as backup to the first hosting, if something happens.
And also, could both be working at the same time?

Related

Is Google Cloud Run Service to Service Communication internal like k8s's cluster.local?

Cloud Run is providing a domain *.run.app to access the service deployed. I am wondering how Google Cloud Run handling requests from one to another Cloud Run service. Is all the service to service communication internal even we have a custom domain instead of *.run.app?
The definition of "internal" is not clear.
Your request stay in the Google Network. Is it internal or external?
To resolve the Custom Domain, a DNS resolution request (port 53) is performed on the public network, but the content of the request stays in the Google Network and forwarded after the resolution. Is it internal or external?
So, as long as you use Google Services (in premium network option), you don't go out of the Google Network and thus you can consider this as highly secured.
I assume, my answer isn't very clear, in fact all depend if you trust or not the Google Cloud network.

How do you configure a domain name for openfire server? Do I just buy a domain and set it as my XMPP domain?

so I am setting up a server for a messaging application which is being developed. I am using openfire server for this which I have installed and running on a PC. Right now, the xmpp domain is set to my computer name and server is working on my network, but obviously as its a local name it cannot be accessed from the outside.I am able to access the server from multiple computers on the same network using the Spark messaging client to test the server. So to be able to access my XMPP server from devices outside my network, do I just buy a domain name and set it as my XMPP domain in Openfire settings?
To answer your question, yes, with the following caveats:
You will either have to host the DNS server yourself or have the DNS provider serve the records for you.
A domain must have a static IP to address to point to. A home or a typical small business Internet account does not include a static IP (some providers actively prevent home accounts from serving web pages/services).
You must also configure your firewall to allow a mapping to the internal server.
I would recommend using an external provider to handle the network and hosting services for your program.

Hosting two different servers with one domain

I'm trying to host web pages using Win Server 2016. Currently, I have Jira and my personal web (IIS) servers. Using AWS, I currently have "myec2.com:port1" and "myec2.com/port2" running fine. And I'm planning to buy a domain "myname.com" to be connected to "myec2.long.name.com"
What I hope to do is "myname.com/jira" and "myname.com/mypage" or "jira.myname.com" and "mypage.myname.com" can redirect to Jira server and the IIS server. Is there a way I can achieve this goal?
Thanks in advance.
If you buy a domain like myname.com you will be able to configure any number of sub-domains such as jira.myname.com or mypage.myname.com as you like.
Usually what you would do is point those sub-domains to your server's IP then handle requests to those domains by setting up a web server (like apache or nginx) and configuring a virtual host (apache) or a server block (nginx) for each one of those sub-domains.

I'm transferring my domain to Azure. I need to have the ability to use my #url.com email addresses

I'm currently using 1&1 and they have a system for managing emails. I need to make sure I don't lose access to my business site's email addresses. What can I do?
When you have application running in Windows Azure and you want to access your application with real domain name i.e. yoururl.com you actually don't transfer your domain. Your domain stick with the same domain registrar whoever it is (in this case 1&1) however you just use DNS or CNAME setup in Windows Azure application so your domain name point to actual application running on Windows Azure.
As far as I know if you are just setting your domain name via DNS/CNAME, pointing to Windows Azure application, there is no changed to your domain and it will intact with your domain registrar and will not impact anything else.
At last, I do have a question what are you doing with Windows Azure as you don't have better understanding about how it is impacting your when you are making decision, so you may need little more info/knowledge about what and why you are using Windows Azure and how it is going to impact your current setup.
Azure has no email system equivalent to that bundled with web hosting by many entry level providers (including, presumably, 1&1). You are either going to need to continue hosting your email with your existing host, or transfer your email domain to someone who offers pure email hosting. Another option might be to run your own mail server on a Windows Azure VM, but according to this post, this isn't yet possible due to networking restrictions: http://social.msdn.microsoft.com/Forums/en/WAVirtualMachinesforWindows/thread/18da4da3-ebf3-48c7-9462-12fa4317175b

How to manage (create/delete) Email addresses programmatically?

I am building a web application that will also allow my users to register/transfer a domain and manage email addresses through my application. However, I'm not exactly sure how to do that yet. I think there are services with APIs that will allow me to register domain names. However, working with DNS, MX records, email addresses and running an email server is something I've never done before. What do I need to know about automating this process of managing email accounts, and what sorts of solutions already exist?
for the email address part, have a look at How to communicate with a mail server through a web application
the dns part is pretty much the same, but you need a dns authoritative server with a database backend, such as powerdns (database configuration docs)
if you don't want to run the dns servers yourself, powerdns also offers hosting with API access