Hot answers tagged

4

If both the main domain name and the subdomain of heroku.com have the exact same content, Google is going to treat them as duplicates. It is probably going to pick one or the other for inclusion into the search index and not index the other. If both are powered by the same code base, you may have trouble getting robots.txt to work. You would need to show ...


3

Putting a CNAME record at the root of your domain breaks email. If you want email to work, you just can't do that. Heroku has instructions for this case. You need to use a DNS host that supports "alias" records. They are also sometimes called "aname" or "proxy" records. Those are served as normal A records with an IP address, but the server ...


3

You can't just set a CNAME and hope for the best when it comes to Heroku. You actually need to log into the Heroku admin panel and configure the CNAME record that you are creating so that Heroku knows what CNAME'ed domain maps to what app on the server.


3

You can use CloudFlare's paid level plan (pro or above) and then use our Flexible SSL option which means we'd be connecting to your back-end (like Heroku in this case) over HTTP ...meaning you would not need to have SSL enabled at Heroku. So with Flexible SSL this is how things look -- visitor <-- HTTPS --> CloudFlare <-- HTTP --> Heroku Discussed ...


3

Can you share your GoDaddy records? I assume what is going on is this: You are pointing a www record to your app on Heroku. For example www.yoursite.com to mysite.heroku.com Chances are you dont have an A record, since heroku does not give you real static IP addresses On regular networks, you are using public dns services like Comcast, ATT or Google. These ...


3

Yes you can, I just wrote a blog post on doing just this http://markshust.com/2012/10/29/deploying-magento-heroku-amazon-rds


2

I put my favicon.ico image in my public/ folder in my rails app. Then I deployed to heroku and had to clear my browser cache before the new one showed up.


2

The < appname >.herokuapp.com target is doing virtualhosting (hosting multiple domains on one IP) and your space is configured to serve requests for < appname >.herokuapp.com but since you made a CNAME of www.< domain >.net pointing to it, the target is getting a request for www.< domain >.net and unless the target is specifically configured to ...


2

#<Files ~ "\.js$"> # order allow,deny # deny from all #</Files> Yes, you will get a 403 Forbidden with the above code when trying to access any .js file, regardless of the way you access it, either from a direct link or when linked in your HTML source (unless it is pulled from your browser cache). And that's the problem, you can't really ...


2

DNS records alone cannot do what you want. DNS records only point host names to IP addresses (or in the case of CNAMEs to other host names). You have to configure your server to handle it correctly. One way is to issue redirects. I presume that you think that is ugly because the URL changes. Another way is to set up "virtual hosts" with different ...


2

Google is like inspector, if they see in your home, you're living with bad people then they assume you're also bad. For example your host IP is 209.168.14.15 and many (say 20) bad website also host in same IP, then Google might assume your website is also bad/spam. Because same home is used by many bad people. So Google actually look into IP address not the ...


2

Google indexes by domain name, not by IP address. There is no SEO effect of changing the IP address your website is hosted from (unless the new IP is in a different country, or is an egregious repeat spam/malware offender which wouldn't be a problem with any reasonable hosting provider). So as long as your content and files are identical, there is no SEO ...


2

There is no problem with that. If you have a dedicated mail-server, You just have to solve it with DNS configuration. A lot of domain sellers give you free DNS manager as well, if they don't there're bunch of other services that can host your DNS stuff(where they might ask you to transfer your domain). Also be aware that Heroku doesn't provide any mail ...


2

If you try to host your own email server on Heroku you may face various problems (such as high pricing for running additional dynos, a lack of direct and easy SSH access to debug problems and the potential to be on an IP blacklist). Heroku is mainly designed for hosting web applications and not to serve as a mail server. A more comprehensive list of issues ...


1

As far as I know Heroku is a web app framework and can't be used as a mail server. While Heroku doesn't have an email offering that I know of, you are free to use an email host other than Godaddy. Email uses a separate set of DNS records called MX records. To set up your domain's email, you would typically set the MX records something like: 10 mx1.my-...


1

Finally got it working thanks to @Stephen Ostermiller's great advice. The following solution will work if your back-end is running on Node.js with Express. First we will create a 301 redirect for all the necessary pages. Here is the code for the about page as an example: /// About Page //// router.get("/about", function(req, res){ const host = req....


1

The only problems caused by a host for SEO are if it is a well-known host for spam and malicious code or it serves pages too slow. Other than that, the host doesn't matter.


1

A 301 Moved Permanently is a HTTP header sent from the server to the browser instructing the browser to redirect the user to the correct domain name, while at the same time telling search engines where the correct address is. The way I have achieved this is to add logic to my Heroku app's to ensure the correct FQDN is being used. If it is using the ...


1

You are using Wordpress. You should look up on how to change your domain name in your Wordpress site. You can try following the instructions in this link by going to WordPress Dashboard as an administrator. Go to General Settings where you can change URL. I don't know your version though but it should work.


1

There are two ways. Either use URL forwarding or you can use a redirect in your .htaccess file. Try URL forwarding first. URL Forwarding To get this to work, go to the GoDaddy domain information and set forwarding to www.example.com. .htaccess method RewriteEngine on #if host ==domain.com RewriteCond %{HTTP_HOST} ^domain\.com$ #and uri==/mypage ...


1

I found this on Heroku and now my domain works fine without the www. I am not sure what it does. In short: Root domains must be added in addition to any subdomains. The process for adding root domains is the same in the Heroku CLI: $ heroku domains:add example.com Adding example.com to example... done ! Configure your app's DNS provider to point to the ...


1

Reference http://lifesforlearning.com/heroku-with-godaddy/ In the FORWARD AND MASKING section (which is under SETTINGS >> Forwarding), I was forward(ing) with masking (as you can see in the screenshot in the question above) to the herokuapp >> http://appsparkler.herokuapp.com. I changed that to forward(without masking) to http://www.appsparkler.com as you ...


1

Solved. I added www.ordr.my into my Heroku custom domain section and change ordr.my CNAME (root domain) to my Heroku app just like below: Cloudflare Heroku


1

This sounds like an DNS zone file issue which you will need to take up with your DNS provider. If the CNAME record where replaced with an A record as seems to be the case based on the comments then the connection would no longer to go Heroku, it would instead go to the server with that IP address (which as has been mentioned in comments is an AWS EC2 ...


1

There is now an installation walk-through at MediaWiki's VisualEditor on a shared host page.


1

For anyone who has this issue come up, changing the DNS to v1 using Namecheap's online interface and then setting the "@" row to blank fixed the issue.


1

If you have access to the code on both, then the canonical tag should work. https://support.google.com/webmasters/answer/139066?hl=en That should let them know which version to index. Duplicate content is only a big issue if it is obvious spam. There seems a lot of hearsay by SEOs that it is always a bad thing when, as long as it is common behaviour, it ...


1

You'll need to specify the hostname for each zone entry, mail.example.com, www.example.com etc What's the meaning of '@' in a DNS zone file?


1

Check out Scalr, it auto scales servers, https://www.youtube.com/watch?v=DiLXsNtt-JE It's open source, but they also have a hosted version.


Only top voted, non community-wiki answers of a minimum length are eligible