I have a website running on openshift (xx.rhcloud.com) and I bought a domain name from one of the BIG providers (mydomain.com).
When somebody goes to www.mydomain.com/page1.php I would like the url in the browser to stay as is and the correct page to be loaded.
Here is what happens:
If I setup the domain name host with a 301 redirect
www.mydomain.com/page1.php show as xx.rhcloud.com/page1.php.
If I ask for masking (iframe) www.mydomain.com/page1.php becomes www.mydomain.com (the reset of the url never shows)
If I setup .htaccess file on the openshift side I'm stuck with "too many redirects" error.
I cannot use Cpannel because the server is not hosted by the BIG provided I bought the domain name from.
Please help me figure out what I'm missing and how to fix the problem.
Thanks,
Joanna
Related
my website link is https://www.tweetanalyze.com/ i added tweetanalyze.com subdomain to be forwarded www.tweetanalyze.com on godaddy but it isnt working without www like https://tweetanalyze.com or http://tweetanalyze.com . My hosting provider says there is no problem in reaching it but i take this ERR_CONNECTION_TIMED_OUT all the time i try to go these links. What should i do to be able to reach my website without www? Thanks.
when i am trying to access my domain with www it shows an error like "This site can’t be reached
www.sustainabletourism.co.in’s server IP address could not be found.
Search Google for sustainable tourism co
ERR_NAME_NOT_RESOLVED"
and working with out wwww.
all dns records are set correctly
plz help me
thanx
As you mentioned DNS is configured corrent, than its is most probably due to wrong setup of virtual host for web server. Depending of the web server in use(eg. Apache or nginx or some other) you can correct this.
In the server alias, you need to add both www and without www of your domain.
I have a domain on which I host a website at http://design.maindomain.com/MDD/ and I also have an addon domain addondomain.com.
Can I make it so that when someone visits addondomain.com/index.html he will see http://design.maindomain.com/MDD/index.html but the URL in the address bar would still remain addondomain.com/index.html?
Thank is configurable in most Cpanels if not you should ask your host.
Last night I purchased a new domain with the intention of turning it into a vanity url service for my blog!
I created the a record on both cpanel and my domain registrar to point to bit.ly. This morning however once the domain had propagated I went to verify my domain with bitly and was still getting the same message...
Short Domain verification failed for "bblg.in". Neither an A Record
nor a CNAME record was found.
I went to to domain in chrome and I am getting a 403 forbidden page however if I goto the www. version of that domain it automatically redirects to bitly.com
Weirdly if I visit the non-www version of that domain on chrome on my android mobile device that redirects to the mobile version of bitly.com but if i visit www.bblg.in on my mobile I get a 403 forbidden page.
I assume there is some redirect issue going on which is preventing me to verify my domain with bitly and would probably need a .htaccess file on there! Also to confirm there is nothing in the bblg.in file on my server just a cgi-bin file that automatically gets placed there.
Any help in this would be greatly appreciated! Many thanks
- Phillip Dew
I have a small issue. I have tried for the last hour to find a solution for this on this and many other websites. I have found similar but none have provided an answer that works. Heres that problem:
I have a badge on my website that was given to me by Norton online protection. they provided me with a script file and I placed it where it should go. NOW, this script is registered to "www.example.com" but if someone goes to their browsertypes in just "example.com" without the WWW. the Norton badge never shows.
I spoke with Godaddy this morning and they have no solution so that's why I'm asking on here.
Is there a to send a domiain name to the same domain name? so that it always shows the WWW?
Configure your webserver such that www.example.com is one site (your actual site with your content), and you have another site that is example.com (no www subdomain) as a site that you can now configure to redirect to your actual site. How that step is done depends on which webserver you are using, but basically these is a way to do that on any webserver (Apache, IIS, etc).
You could try to read the URL and check if 'www' is present in the URL. If it is not present redirect the visitors to www.example.com
In php you could use the below for redirection
header('Location: http://www.example.com/');