does golang work on godaddy basic linux web hosting?

xuanbao · · 877 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Tried asking this on their webchat but the rep does not know. I would love to be able to do this on godaddy since most of the project is already done and is hosted there. I want to give golang a try. thanks!</p> <hr/>**评论:**<br/><br/>captncraig: <pre><p>Please don&#39;t use godaddy. They offer pretty mediocre service at inflated prices. Their customer service is pretty bad (as you discovered they don&#39;t even know what their hosting supports), and they have all kinds of scummy and unethical practices too. </p> <p>I&#39;d recommend going with pretty much anything else. Having a lot of success with Digital Ocean lately.</p></pre>epiris: <pre><p>I don&#39;t know if you have checked them out in a while but they offer a more modern platform these days on reliable infrastructure. At 5$ for a small VM it&#39;s much like digital ocean with similar price point. They use to be mostly cheap commodity shared hosting.. which has the standard caveats of mass abuse. Just something to think abiut, I personally use to use digital ocean last time I had a web server because Godaddy didn&#39;t have a similar product.</p></pre>captncraig: <pre><p>Its not even technical reasons why I won&#39;t ever use them again. </p> <p>Shopping for domains is a giant bait-and-switch. They show you something like &#34;.com for $3.99&#34;, but when you actually check out it turns out it&#39;s $15 for a year and $3.99 is the per-year price for like 10 years or something. Extremely hard to get a clear price until you are checking out. That is unethical.</p> <p>I tried automating my dns setup using their api (which has a real pretty documentation page btw), but they are missing fundamental functionality, like setting nameservers, so that was a no-go as well.</p> <p>They have a horrible track record of giving up domains to unauthorized people and refusing to do anything to help get them back. </p> <p>They have been caught buying domain names as you search for them, and then offering them up as &#34;premium domains&#34;.</p> <p>I could go on and on. I will never trust them, even if the price point is more attractive at times.</p></pre>epiris: <pre><blockquote> <p>Shopping for domains is a giant bait-and-switch. They show you something like &#34;.com for $3.99&#34;, but when you actually check out it turns out it&#39;s $15 for a year and $3.99 is the per-year price for like 10 years or something. Extremely hard to get a clear price until you are checking out. That is unethical.</p> </blockquote> <p>I mean, pretty much every company on earth shows low prices when buying in bulk or longer terms with that little asterisk next to them. From here they do one of two things, they hide the details at the bottom of the page.. permutations of this can be sleezy like dark text dark background etc. Some companies show the text very clearly.. godaddy is one of them: <a href="https://www.godaddy.com/tlds/com-domain" rel="nofollow" class="affiliate" data-href-url="https://www.godaddy.com/tlds/com-domain" data-affiliate-url="https://redirect.viglink.com?u=https%3A%2F%2Fwww.godaddy.com%2Ftlds%2Fcom-domain&amp;key=25af4ec1c34fc6ae45239dd3707fc024">https://www.godaddy.com/tlds/com-domain</a></p> <blockquote> <p>I tried automating my dns setup using their api (which has a real pretty documentation page btw), but they are missing fundamental functionality, like setting nameservers, so that was a no-go as well.</p> </blockquote> <p>When you said you didn&#39;t find how to setup nameservers using their DNS API I immediately thought if I was making an API name servers would not be part of DNS records. It would be a higher level operation at the domain level. I was right. In the API below the name servers are exposed via <strong>/v1/domains/{domain}</strong> .. not at <strong>/v1/domains/{domain}/records</strong> .. which makes sense. Name servers are not a record.</p> <blockquote> <p>They have a horrible track record of giving up domains to unauthorized people and refusing to do anything to help get them back.</p> </blockquote> <p>They operate under the same legal guidelines of any other domain name provider. Getting domains legally sized back is not their responsibility. If you want better rules around this you should lobby to ICANN. They have some pretty horrible rules like outdated domain name whois data.. I don&#39;t know the exact details, but it&#39;s something like this: *If someone wants your domain they I&#39;ll attempt to acquire it by probing the whois email address and supply icann with a case the domain has been abandoned. If you don&#39;t respond within a given time span they may legally take control of your domain. This was the widest spread attack vector for domain acquisition for the longest time anday still be. When it happened Godaddy couldn&#39;t just &#34;take it back&#34; no more than any domain name provider. They had to operate within the constraints of the ICANN rules.</p> <p>The last one sounds a bit silly and is not a simple matter of fact as the others so I won&#39;t comment. You are absolutely entitled to your opinion and I encourage you to stick to your guns if you disapprove of Godaddy. I just wanted to correct you in a few areas I have the expertise to do so. Take care!</p></pre>captncraig: <pre><p>Godaddy is much worse than simple bulk pricing. Look at their homepage now: &#34;.coms for $2.99&#34;. Fine print says: &#34;When you register for 2 years or more. Additional years $14.99*&#34;</p> <p>So its $11 a year at 3 years. That is not bulk pricing. That is deceptive advertising. Compare to name.com who provides a simple price on first search with no nonsense. I don&#39;t have to bust out a calculator to determine the actual price. Yes other people do it. Dish Network and Comcast come to mind. Other companies I will never give money to. Just because it is legal and commonly practiced does not mean I have to feel good about it.</p> <p>Yes, you can read the nameservers, but not update them. A support ticket quickly confirmed that.</p></pre>MrCowPie: <pre><p>I actually have several sites with godaddy. I pay $10 something for domain and 1 year of basic linux hosting. For this, it&#39;s a great deal if you&#39;re okay with basic HTML and PHP 5.x hosting. I use coupon from honey (chrome extension) to get this pricing. for next billing, if I can&#39;t get a good deal then I&#39;ll move somewhere else.</p></pre>mwholt: <pre><blockquote> <p>but the rep does not know. </p> </blockquote> <p>Figures. :-/</p> <p>Anyway, if you can run your own binary on the system, you can run a Go program. Most shared hosts don&#39;t let you run binaries (or at least don&#39;t let you use sudo to configure the system or set privileges).</p></pre>MrCowPie: <pre><p>I didn&#39;t even think about that. I&#39;ll probably spend an hour this week trying to see if it&#39;ll work and if it doesn&#39;t then I&#39;ll go back to PHP. thanks!</p></pre>epiris: <pre><p>Hello, for golang you will need something like a VM, dedicated, etc. They have 5$ servers that could run go here: <a href="https://www.godaddy.com/pro/cloud-servers" rel="nofollow" class="affiliate" data-href-url="https://www.godaddy.com/pro/cloud-servers" data-affiliate-url="https://redirect.viglink.com?u=https%3A%2F%2Fwww.godaddy.com%2Fpro%2Fcloud-servers&amp;key=25af4ec1c34fc6ae45239dd3707fc024">https://www.godaddy.com/pro/cloud-servers</a></p></pre>PaluMacil: <pre><p>You&#39;d still need to contend with a pretty bad host in GoDaddy. I&#39;d strongly recommend Vultr or Digital Ocean. You can get pretty impressive performance from them, and their uptime is much better.</p></pre>MrCowPie: <pre><p>thanks guys. I do love digital ocean but for this project, I&#39;m afraid we&#39;re stuck with godaddy basic hosting as it is already paid for.</p></pre>SingularityNow: <pre><p>If their hosting supports fast-cgi, Go has a package for it and you could use that (probably).</p></pre>MrCowPie: <pre><p>they do have support for cgi but golang isn&#39;t mentioned on the list of supported language. I&#39;ll check it out. thanks</p></pre>quantitea: <pre><p>I would recommend taking a look at Google Compute or Amazon EC2. For Google Compute, you can find promos all over the internet for $300 in credit for the first 60 days. This would essentially let you test their larger offerings risk free. Amazon&#39;s Nano / Micro packages are very reliable, and depending on your spec needs, would run anywhere from $0 to $15 a month.</p></pre>MrCowPie: <pre><p>Thanks! Unfortunately godaddy is already paid for. </p></pre>addos: <pre><p>Go programs are statically compiled, why should hosting provider matter?</p></pre>mwholt: <pre><p>Some hosts don&#39;t allow you to run your own binaries. And if you need to tune the system or set permissions or something, you might need root privileges to do that, which is pretty much impossible on shared hosting.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

877 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传