Assign different Domains to different nodes in one Umbraco instance - umbraco

Currently i have 2 Domains i want to use in 1 Umbraco instance.
www.im-tas.de and the
www.mainzercarre.de
This is the Node Structure and the domains i want to assign
This is how my hostnames currently looks like for both nodes
this is the imtas configuration
and this from mainzercarre.de
But it does not work. this is the error i get
In my server settings i already assigned both domains to the same folder. i also checked the permission setting but i am not sure.
What i am doing wrong

Related

My naked url can't be linked with a "www"

Issue:
I have a naked url which works, but "www." + the naked url yields a 404 error. I'd like to point the www version to the naked version.
Context:
I have a serverless website, deployed on google cloud run.
I have a domain name registered through google domains, let's call it foo.bar.
Google cloud run provides two types of resource types for me to provide to google domains: A and AAAA, which are ipv4 and ipv6 addresses respectively.
I have added these A and AAAA records as custom records to google domains. With google domains, the hostname field is left blank, which is equivalent to #. From my understanding, this means that when someone types foo.bar, they get directed to these ipv4/ipv6 addresses. This works as intended.
But if I type www.foo.bar, I get a 404 error. As far as I know, www.foo.bar and foo.bar are not equivalent, and so there is no expectation that these two things should work unless explicitly instructed to. So I have tried two approaches to link these, as follows:
Added the A and AAAA resources, but specified www as the hostname, rather than blank. I would expect this to point www.foo.bar to the ipv4/ipv6 addresses too.
Added a CNAME resource, which specifies www.foo.bar as the hostname, and foo.bar as the data. I would expect this to redirect www.foo.bar to foo.bar, which points towards the ipv4/ipv6 addresses.
I would expect both of these to work equivalently, yet neither of them work. I feel like I am misunderstanding what is going on when managing these records, or that google domains is more opaque about what it is doing than I'd like.
Is my understanding of what should happen incorrect? And how can I properly set up the www extension?
You must create Cloud Run custom domains for each hostname. One for example.com and another for www.example.com. You must also create the DNS resource records, which you mentioned that you did complete.

Can you have the same website with a different tld(.com, .uk, ...) from different hosts while only hosting on one host?

I've bought a domain from godaddy (no webhosting), and want to buy another domain with the same name, just a different tld (ones .de, the other .com).
Is it possible to host on only one provider, but have both .de and .com lead to the same page.
Yes you can do this.
From the cpannel you will click on addon domain and will add the seocnd domain there and then will set the location for the files of website then at that location on server you can place your second site

Heroku - custom domain DNS

I am a complete newbie when it comes to redirecting etc.
I bought a domain (mydomain.co) and I have a heroku app (mydomain.herokuapp.com) (upgrading to paid in the upcoming month). What I want to do is to be able to access the heroku app after entering the domain url and stay o this domain, and not be redirected to mydomain.herokuapp.com.
My settings for the domain look like this (I translated it myself, so there may be some mistakes):
With this settings, I can access my app but it is displayed in a frame, what's more - some of the pages do not work.
What I want to do is to be able to type mydomain.co and display mydomain.herokuapp.com but as regular site, and not inside a frame. What options should I choose?
Another thing is - will I be able to use the domain (which I paid for) and do the redirect if I do not buy a hosting from the company?
PS I added custom domains to my herokuapp and read their [guide], but I still do not understand.3.
Here are also my domain records - I believe it has something to do with this, but it so hard to test it as those DNS changes take some time.
You should remove your redirection. You also need to put a CNAME on mydomain.co with value mydomain.herokuapp.com.

Want to create staging subdomain e.g staging.example.com

I have e.g www.example.com as my website domain, and now as testing instance I want to add www.staging.example.com. How this can be achieved. I tried searching for solutions on google, but got confused. Any suggestions on this will be greatly appreciated.
Your first line of attack would be to create a new DNS record for the domain you want. This can usually be done from the control panel provided by the service/company you purchased the domain through.
If your staging server is hosted and available at the ip A.B.C.D for example, you'd create a new A record for www.staging that points to A.B.C.D
Once this is done, you'll want to add a new (v)host entry on your server that's housing the staging site (this differs whether you're using Apache, NGINX etc). A simple Google search on how to do this should suffice.

Managing configuration files across multiple servers

Running a Rails application on multiple servers (~20), I want to able to manage the configurartion files (mainly *.yml, but also SSL pem/certs files and other text based) from a single location such that any change to files, or a new file, is added to all servers.
I also want to have this content source controller via git.
Updated are not frequent and I want to keep the app untouched such that data is read from files as it is right now.
What are the available solution for that, is Zookeeper good fit?
I have not used Zookeeper but I believe you should be able to do something like you need with a tool such as Puppet or Chef.
We're using ZooKeeper for live settings.
One idea is to use a registry.
Say you have a component called Arst.
You can have some config - lets say for redis under these folders each representing a different instance:
/dbs/redis/0 (host, port, db, password as children)
/dbs/redis/1 (host, port, db, password as children)
/dbs/redis/prod (host, port, db, password as children)
And if your component Arst needs to use instance 0, you can have a registry like this:
/arst/redis/0
If you want to add 1 just add the node and a child watch in the application will update things for you without a restart.
It's not very simple to do though and managing the settings can be a pain for teams like qa.
So I'll be working on a console to help with this as well. We'll be open sourcing some pieces.

Resources