Creating URL subdomains [closed] - dns

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
How are sites like bandcamp, blogger, etc creating these custom url with subdomains
example:
http://themidwestbreaking.bandcamp.com/
normally you have to add to your A-RECORDS in your DNS, but I am pretty sure they are not doing that.

Wild card dns. There is a subdomain set up as *. You have to set up your webserver to accept *.yourdomain.com, then you can extract the subdomain from the URL and process however you want.

Related

Redirect subdomain dynamic URL to main domain ,htacesss [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 days ago.
Improve this question
Need to redirect subdomain to main domain with dynamic urls
for eg
ar.abc.com/about to abc.com/about
after / it should be dynamic
Can anyone help in sharing .htaccess rule to achieve the same
Thanks

SharePoint 2010 - multiple URLs? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Currently sharepoint responds to http://sharepoint.mydomain.com. I want it to respond to http://portal.mydomain.com also. This is an intranet site.
Is a DNS alias and alternate access mapping all I need to do? If not what are the necessary steps to accomplish this?
It seems so. Take a look at this: http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/b76cf17d-85cb-4a5e-9f7b-e0efdf438667 and this: http://dotnetengineer.wordpress.com/2008/06/30/url-aliases-for-your-sharepoint-site/. According to the second link you may want to set Zone setting to Extranet.

Website doesn't appear unless www. is used? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
There is some sort of DNS error on my clients website that is hosted by HeartInternet. For some reason the site does not appear unless www. is specified explicitly.
Works: http://www.elmhaven-marina.co.uk
Doesn't Work: http://elmhaven-marina.co.uk
How can this error be fixed?
You need a "#" A record pointing to elmhaven-marina.co.uk in your DNS
The DNS record simply doesn't have an entry for "www." then. It needs a CNAME pointing "www." to "#", meaning, an alias for the raw domain.

Forward olddomain.com/$ to newdomain.com/$ [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've switched domains but want to keep my old links forwarded.
So if someone goes to olddomain.com/lol they would be forwarded to newdomain.com/lol
Can I do this with A record? Whats the best method?
CNAME doesn't work across different domains. You have to use an A record and point it to the IP that hosts your new domain.
newdomain.com:
newdomain.com. A 1.2.3.4
olddomain.com:
; essentially the IP that newdomain.com is at
olddomain.com. A 1.2.3.4
Then you need to do something on the webserver hosting newdomain.com to also accept HTTP/1.1 connections for olddomain.com, you can use mod_rewrite or something similar.

CNAME for subdomains needed? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Hay, I'm having a little trouble.
I have the following domain over at easily.co.uk
www.foo.com
and i have that site hosted over at 1and1. This site is working fine.
I want to add a subdomain to this site, so i went into Plesk and added the followig subdomain
bar.foo.com
However, when i point my browser to that subdomain, it fails.
Do i need to setup a CNAME record for this subdomain?
You tell your DNS hosting company to do so. - You can also set up a wildcard record which will direct every possible subdomain to your IP.

Resources