Active Diretory domain name same as site - dns

The domain name of an active directory forest is, for example,
example.com
It is possible to access the site
www.example.com (no relation to active directory domain)
from a computer in that domain?
If so, what changes must be made to the domain's DNS server to make this possible?

Related

Create a CNAME from domain A going to domain B running IIS to a specific site not to the default site

I need to create a cname in a domain A pointing to a domain B.
Domain B is running under IIS where I have several sites, like:
site1.com,
site2.com ...
In my cname I'm pointing to site2.com, but it is going to the IIS default page.
What do I have to do?
I try to redirect, but it doesn't work as I want the name of the domain1 on URL bar.
Thanks
By default, IIS doesn't specify domain name for default web site which mean the default website will accept incoming request with any domain names.
When you need to point domain to specific website, please remember to create a binding host header and input its hostname
https://learn.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/site/bindings/binding

Issue in pointing domain to hosting server folder

I have my shared hosting server on godaddy.com and primary domain is abc.com
Now I have another domain registered xyz.com on some other 3rd service not on godaddy. For this new website xyz.com I have installed wordpress in xyz directory of my godaddy hosting server.
Now how do I point this xyz.com domain to my xyz directory of my hosting server by keeping abc.com website as it is?
B"H
I think URL Masking is what you're looking for. Some domain providers include this in CPanel.
You can also achieve this via .htaccess
Alternatively, you can try frames, though not recommended.
UPDATE
You can also consider using apache as a proxy, though using an A or CNAME record to accomplish this is the right way.

How to create a subdomain manually

I want create a subdomain that is not possible to create on cPanel (the word "admin" is reserved by Hostinger), it is not in use and I want host my admin panel on this subdomain, I need create it by myself.
I have access to DNS recorder, but I don't know how redirect it to correct folder (same IP address for all). I created an A recorder on DNS, and it's return:
Not Found
The requested URL / was not found on this server.
I'm using CloudFlare.

Point GoDaddy domain to a specific folder on my web server

Lets say I have ordered domain name abc.com from GoDaddy.
I want to point the domain to my web site that I am hosting locally on my computer via IIS. Lets say that to hit this website currently, you would go to '123.123.123.123/mysite/'.
I am trying to setup the DNS Zone File to do this, but I cannot figure out how to get it to point to the "/mysite/" directory.
How can I properly set my GoDaddy DNS Zone file to point to '123.123.123.123/mysite/'?'
You have got your concepts a little mixed up there. What you are looking for is a HTTP Redirect. DNS is simply a way to map an IP Address to a domain name, it doesn't care what the traffic does once it gets to your site.
Think of DNS as a Postcode (Zipcode). It puts a letter in your letterbox. There is no way for it to know that Betty is on the second floor, because that's not what the Postcode does.
DNS will point a domain name example.com to an IP Address 123.123.123.123. You can have multiple domain names, www.example.com and mysite.example.com all pointing to the same IP Address, and the server can be configured to figure out what to do with each individual domain name.
So what you could potentially do is have the server detect that you are requesting mysite.example.com and have that redirected to www.example.com/mysite. This would be the standard way of achieving this.

very simple -- how do i setup a subdomain with 1&1 domain provider + hostgator hosting?

Everytime I try to create a subdomain with this combo, it simply says the page doesn't exist. I have the subdomain directory created, so I'm not sure what I'm doing wrong. for example if I want
subdomain.domain.com, then
domain.com/subdomain will work, but
subdomain.domain.com won't work.
Any insight?
Firstly you will need a DNS record for you subdomain. This can be a CNAME record if you just want the the subdomain to be an alias of the main domain (Canonical Name). If you want the subdomain to be hosted on a different IP address or server then you need a new A record.
From the sounds of it you want a CNAME record for your subdomain created in your DNS manager, and then you want to configure your web server to look at the host headers to map to the sub directory you created. How you go about this depends on the type of web server.

Resources