What is the difference between the following URLs?
http://www.forums.example.com and
http://forums.example.com ?
Actually I've created a new subdomain in my website and it's working fine when I try to access without www (i.e http://forums.example.com) But when I try to give URL like http://www.forums.example.com it is showing "Page not found".
Why is this and how can I fix the issue?
If I am not mistaken, www. is also considerd a Subdomain, hence when you setup hosting on a provider (i.e Slicehost) they tell you to put www in the subdomain list (again if I am not mistaken). If you really want www.fourms.duckyetc you can set up a script to do some matching, i.e
if url contains www.fourms.ducketc then go to here else go somewhereelse
You have to create a cname for www.forums.duckyvideos.com and also configure your webserver to respond to that cname. There is nothing automatic about www prefixes on the web. It's just a convention that websites are accessible with or without the www. Everyone hosting a website has to explicitly set up a second cname for the www prefixed version of every site they put up.
Related
My github pages site with a custom domain works just fine on mobile but when i try to access the same URL from desktop i get a DNS_PROBE_FINISHED_NXDOMAIN error. Any ideas why this may be ? The site can be found here if it helps Site
EDIt: it works with this link which does not include 'www.' if this makes my problem any clearer
I doubt that it shows on your mobile, DNS records doesn't return anything WhatsMyDNS
Are you certain that you've got your DNS server up correctly.? I did a lookup for your domain name and it doesn't appear that you've got your CNAME pointing to GitHub pages. To do so, add a CNAME record to your domain via your domain registrar's dashboard. This should point to the name of your GitHub pages url (ex. john.github.io/xyz). You can read up on this more here.
I notice you say that it doesnt work if you add the www.. I'm not exactly sure why this is (there's not enough information to say why). I'm guessing you did not correctly set up the record, so here's what it should look like:
# A 4H 127.0.0.1
(You may change the TTL and IP, of course)
I'm guessing you forgot the # in the first field, which puts it under both www and the root subdomain. If this is not the case, you can attempt to fix this issue by adding www in a separate record to easily resolve the problem.
www A 4H 127.0.0.1
Note that this will work for both CNAME and A records.
Maybe desktop dns server is not so fast to fetch changes.
Change dns server in desktop connection settings for a public google's 8.8.8.8. For windows that's going to be Control Panel > Network and sharing center > Change adapter settings > Right click adapter (in my case it was WIFI) > Choose connection (Internet protocol Version 4) > Click Properties > Select "Use the following DNS server addresses" > Enter 8.8.8.8 in "Preferred DNS server" > Click OK
I am a newbie in the field and faced the same issue. Came here to find the solution. I just did plug out the ethernet and connected my laptop to my wifi and it worked.
So I have a Site created with Typo3. I also have a domain which is linked to the folder of the Typo3 Installation. www.example.org
I created a Subdomain and linked it to the same folder and used the Main Domain for something else.
But now everything on the Subdomain still has the URL Structure of the main site so when I open up sub.example.org all the Links and Images still have the URL from www.example.org/...
I exported the Database and replaced every URL with notepad++ and imported it again. But that didnt change anything. What do I do wrong?
There are two (three with realurl) places where you need to look if changing the domain of a TYPO3 site, if everything is done by the book and noone hardcoded the domain all over the place or something.
Usually you do not need to work in the database directly.
After doing the changes, make sure to clear the caches (install tool in 6.2+, "all caches" in earlier versions).
First:
There are two TypoScript settings that influence the generated URL: config.baseURL and config.absRefPrefix.
The recommended way to use those is to not set config.baseURL (would result in a <base> tag in the HTML <head>), and set config.absRefPrefix to the subpath where TYPO3 is, relative to the document root. If TYPO3 lies directly in the document root, set it to /.
Second:
In the database, there are "Domain Records". They are usually located on the root page of a site. Change those to the new domain.
Third (with realurl only):
Check the realurl configuration file, usually located in typo3conf/realurl_conf.php. Depending on your setup, the old domain name is used there and needs to be changed.
Currently I have a redirect setup in my domain host's dns for example2.com to goto example.com
I don't want it to redirect but rather stay as example2.com while displaying the exact content from example.com. I don't want to copy the site's code between the two. I want a single code base and both URL's to use the same code.
I am not sure how to achieve this using my web host's CPanel. I thought I might be able to do it using cnames or aliases but that does not seem to work. I am sure someone has had this experience before.
I believe this is a pseudo-programming question but if a mod decides this is the wrong stack please do move it.
303 headers need to be sent with a new domain or in this case example.com, for apache or php related steps see these links:
http://www.inmotionhosting.com/support/website/htaccess/redirect-without-changing-url
redirect to a page without changing the url
Redirecting to HTTP error documents without changing the request URL
For explanations:
http://en.wikipedia.org/wiki/URL_redirection
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection
Crosspost: https://orchard.codeplex.com/discussions/455071
I'm using Orchard 1.6.1.
Say my first site is called domain.com. I tried to create a new tenant and put the beta.domain.com as the Host with no URL prefix (seeing that it is Optional).
The url http://beta.domain.com is shown and when I try to Set Up, it doesn't show anything. I tried to remove the subdomain and enter a prefix which resulted in http://domain.com/beta. It worked, however, I would very much prefer a subdomain as shown/detailed here: http://docs.orchardproject.net/Documentation/Setting-up-a-multi-tenant-orchard-site
Do I have to set it up in my DNS server?
Any piece of advise or information would be highly appreciated. Thanks!
If you have an IIS server, you will need to have your beta.domain.com point at it and then add a binding to your website in iis of beta.domain.com for it to pick it up.
If you're using shared hosting and you don't have access to IIS. Then you should use Domain Aliases (in Plesk) rather than setting the DNS. It would make your Orchard CMS on your primary domain serve the tenant site.
Example: You want to add a tenant site on tenant.mysite.com then you should add a domain alias tenant.mysite.com to mysite.com domain. Don't forget to check the Web option if using Plesk.
In case of you have access to IIS, you need to add binding to your primary domain.
pardon me for asking a very basic doubt.
I have hosted a page in the site collinfo.annauniv.edu
The page opens fine when i enter the address as http://collinfo.annauniv.edu
But when i gave www.collinfo.annauniv.edu my browser shows 404 error.
What is the difference that http causes here in place of www.
The www. before your domain is actually a subdomain. It's essentially the same thing as help.microsoft.com or orders.amazon.com.
With that in mind, there are a few things that could be happening:
1) Your DNS records do not include the appropriate A Record for the www subdomain.
In this case, you'll need to setup an A record that points to your web site's IP address. If you don't know how to do this, your web host should be able to help.
2) Your server is not configured to handle the www subdomain.
If you're using the apache web server, it needs to be configured to show your web site when the user enters www before your domain. Again, your web host can set this up for you.
It all comes down to a misconfiguration issue. If you don't have experience administering web servers, you may want to give your web host a holler.
www comes from the (rather) old time where a domain had several sub-features, of which the web was not always the main service. For instance
www.domain.tld for web
mail.domain.tld for mail
ftp.domain.tld for ftp
domain.tld for web
but this is a convention - any subdomain may point to anything actually.
This is more a question of DNS declaration and/or web-server configuration ; in this case it is probably that the web-server configuration does not trigger the same pages for www.domain and domain (since you get a 404).
The author / administrator of collinfo.annauniv.edu either forgot to create a DNS entry for www.collinfo.annauniv.edu or did not create a virtual domain (web-server side) for it that would point to the same pages as collinfo.annauniv.edu.
HTTP is a protocol.
http://collinfo.annauniv.edu
Is the address of a resource which can be retrieved using HTTP.
annauniv.edu is the domain in your case.
collinfo is the subdomain.
www.collinfo is also considered as a subdomain but it does not exist. That's why you get HTTP 404 not found.
Subdomain can be anything, www is usually used as it usually mean World Wide Web.
WWW is a subdomain
HTTP is a protocol (language)
Whether you specify HTTP in the browser or not, the browser will always assume the request is being of "http" type and will ussually add http:// for you.
WWW however is just an alternative subdivision of the domain name, the same as in:
www.domain.com
site.domain.com
sub1.domain.com
sub2.domain.com
.....
etc.domain.com
In most cases the WWW subdomain will point to the same "page" as the main domain, which is usually called the "index" page, such as index.html, or index.php and in most cases the index page is hidden in the browser's address bar, unless you specifically type it in, such as http://www.yahoo.com/index.html, but you have to understand that if you have a full control of your webserver you can modify these, so WWW doesn't point to the same page or you can call you main page "home.html" instead of "index.html" and instruct your webserver to "point" your browswer to that page by default.
But things like HTTP are not easily changed, since HTTP is the main language of the web and most browswers use that as the primary means to access the webservers.
Peace!