Я зарегистрировал домен на dot.tk (домен Токелау). Написал следующие данные: Type: A-record Host Name: mirp.tk IP-address: 75.101.145.87
Type: A-record Host Name: http://www.mirp.tk IP-address: 75.101.145.87
В Heroku добавил домены: heroku domains:add mirp.tk heroku domains:add http://www.mirp.tk
Проверил с помощью команды host - всё как надо! Но вот сгенерированный Heroku длинный адрес работает - http://enigmatic-falls-2247.herokuapp.com/ (перейдите - посмотрите), а вот доменный адрес http://www.mirp.tk - не работает. Пишет Application Error. Пожалуйста, помогите!
Вот мой лог файл хероку:
ark@ark-Aspire-5750G:~/mirp$ heroku logs
2014-07-21T16:00:42.515490+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T16:00:42.863100+00:00 heroku[router]: at=info method=GET path="/assets/application-9cc0575249625b8d8648563841072913.css" host=enigmatic-falls-2247.herokuapp.com request_id=ea050fe7-5835-4912-af28-1b283ed53a4d fwd="5.138.11.232" dyno=web.1 connect=1 service=4 status=200 bytes=967
2014-07-21T16:00:43.063356+00:00 heroku[router]: at=info method=GET path="/assets/application-021a93d581524a2def3d799b2f33250e.js" host=enigmatic-falls-2247.herokuapp.com request_id=3de52890-89a0-485a-bf08-c084433b8065 fwd="5.138.11.232" dyno=web.1 connect=3 service=12 status=200 bytes=951
2014-07-21T16:00:43.928653+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=enigmatic-falls-2247.herokuapp.com request_id=c1a24324-9584-44f0-9c72-fec2084aa161 fwd="5.138.11.232" dyno=web.1 connect=1 service=4 status=200 bytes=865
2014-07-21T16:35:02+00:00 heroku[slug-compiler]: Slug compilation started
2014-07-21T16:35:56+00:00 heroku[slug-compiler]: Slug compilation finished
2014-07-21T16:35:56.090395+00:00 heroku[web.1]: State changed from up to starting
2014-07-21T16:35:55.977486+00:00 heroku[api]: Deploy eedaa44 by kotinoka2014@rambler.ru
2014-07-21T16:35:55.977572+00:00 heroku[api]: Release v7 created by kotinoka2014@rambler.ru
2014-07-21T16:35:59.405625+00:00 app[web.1]: [2014-07-21 16:35:59] FATAL SignalException: SIGTERM
2014-07-21T16:35:59.405645+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
2014-07-21T16:35:59.405651+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
2014-07-21T16:35:59.405652+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
2014-07-21T16:35:59.405659+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/server.rb:69:in `start'
2014-07-21T16:35:59.405648+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
2014-07-21T16:35:59.405655+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in `run'
2014-07-21T16:35:59.405663+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:76:in `tap'
2014-07-21T16:35:59.405657+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2014-07-21T16:35:59.405665+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:76:in `server'
2014-07-21T16:35:59.405669+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands.rb:17:in `<top (required)>'
2014-07-21T16:35:59.405661+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-07-21T16:35:59.405667+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-07-21T16:35:59.405673+00:00 app[web.1]: bin/rails:8:in `<main>'
2014-07-21T16:35:59.405671+00:00 app[web.1]: bin/rails:8:in `require'
2014-07-21T16:35:59.405683+00:00 app[web.1]: [2014-07-21 16:35:59] INFO going to shutdown ...
2014-07-21T16:35:59.405685+00:00 app[web.1]: [2014-07-21 16:35:59] INFO WEBrick::HTTPServer#start done.
2014-07-21T16:35:59.405804+00:00 app[web.1]: Exiting
2014-07-21T16:36:00.257546+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 36971 -e production`
2014-07-21T16:35:58.733013+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2014-07-21T16:36:00.902348+00:00 heroku[web.1]: Process exited with status 143
2014-07-21T16:36:05.501580+00:00 app[web.1]: [2014-07-21 16:36:05] INFO WEBrick 1.3.1
2014-07-21T16:36:05.501657+00:00 app[web.1]: [2014-07-21 16:36:05] INFO ruby 2.0.0 (2014-05-08) [x86_64-linux]
2014-07-21T16:36:05.502442+00:00 app[web.1]: [2014-07-21 16:36:05] INFO WEBrick::HTTPServer#start: pid=2 port=36971
2014-07-21T16:36:06.055431+00:00 heroku[web.1]: State changed from starting to up
2014-07-21T16:36:07.056589+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-falls-2247.herokuapp.com request_id=7795c3c4-5880-4004-8581-9897bd7df688 fwd="54.237.185.127" dyno=web.1 connect=0 service=250 status=200 bytes=430
2014-07-21T16:36:06.824627+00:00 app[web.1]: => Booting WEBrick
2014-07-21T16:36:06.824634+00:00 app[web.1]: => Rails 4.1.1 application starting in production on http://0.0.0.0:36971
2014-07-21T16:36:06.824637+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-07-21T16:36:06.824639+00:00 app[web.1]: => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
2014-07-21T16:36:06.824641+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-07-21T16:36:06.824643+00:00 app[web.1]: Started GET "/" for 54.237.185.127 at 2014-07-21 16:36:06 +0000
2014-07-21T16:36:06.996542+00:00 app[web.1]: Processing by WelcomeController#index as */*
2014-07-21T16:36:07.054404+00:00 app[web.1]: Completed 200 OK in 57ms (Views: 4.7ms | ActiveRecord: 0.0ms)
2014-07-21T16:36:07.052502+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (0.9ms)
2014-07-21T16:36:07.517980+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-falls-2247.herokuapp.com request_id=825923d5-2d54-4c86-b4e3-f37da0bd01e4 fwd="5.138.11.232" dyno=web.1 connect=0 service=58 status=200 bytes=938
2014-07-21T16:36:07.505134+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (0.8ms)
2014-07-21T16:36:07.467651+00:00 app[web.1]: Started GET "/" for 5.138.11.232 at 2014-07-21 16:36:07 +0000
2014-07-21T16:36:07.488579+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T16:36:07.506141+00:00 app[web.1]: Completed 200 OK in 17ms (Views: 2.8ms | ActiveRecord: 0.0ms)
2014-07-21T16:36:08.499890+00:00 heroku[router]: at=info method=GET path="/assets/application-9cc0575249625b8d8648563841072913.css" host=enigmatic-falls-2247.herokuapp.com request_id=4ac8a898-c797-448e-845b-feeefe069452 fwd="5.138.11.232" dyno=web.1 connect=0 service=7 status=304 bytes=1017
2014-07-21T16:36:08.688709+00:00 heroku[router]: at=info method=GET path="/assets/application-021a93d581524a2def3d799b2f33250e.js" host=enigmatic-falls-2247.herokuapp.com request_id=6c2b2db5-56d5-4020-95b9-f33a21f19cc9 fwd="5.138.11.232" dyno=web.1 connect=0 service=7 status=304 bytes=1001
2014-07-21T16:52:39.119297+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-falls-2247.herokuapp.com request_id=1dbfc43d-7fde-4ac8-b69a-82131b83263c fwd="5.138.11.232" dyno=web.1 connect=1 service=27 status=200 bytes=961
2014-07-21T16:52:39.105464+00:00 app[web.1]: Started GET "/" for 5.138.11.232 at 2014-07-21 16:52:39 +0000
2014-07-21T16:52:39.113840+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (0.1ms)
2014-07-21T16:52:39.116764+00:00 app[web.1]: Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms)
2014-07-21T16:52:39.112022+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T16:52:39.347461+00:00 heroku[router]: at=info method=GET path="/assets/application-9cc0575249625b8d8648563841072913.css" host=enigmatic-falls-2247.herokuapp.com request_id=a888e677-42bd-47c7-89d1-48ee0b28f285 fwd="5.138.11.232" dyno=web.1 connect=1 service=6 status=304 bytes=1043
2014-07-21T16:52:39.752788+00:00 heroku[router]: at=info method=GET path="/assets/application-021a93d581524a2def3d799b2f33250e.js" host=enigmatic-falls-2247.herokuapp.com request_id=b03557ba-b6d5-4f1b-88d9-c5b15962504e fwd="5.138.11.232" dyno=web.1 connect=1 service=16 status=304 bytes=1027
2014-07-21T16:55:13.362936+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=76544126-77b9-4cc9-a994-190d7347abe0 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:13.801996+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=mirp.tk request_id=771d5ad9-2a81-443b-a098-f5e8cf15e363 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:14.007798+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=mirp.tk request_id=1ab176db-ced6-4f4d-9a12-123af06061dd fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:22.380043+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=92538bfc-7771-47eb-b95f-2d1e6f656201 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:23.157906+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=www.mirp.tk request_id=45378946-ef68-42d0-a25d-0ccb8fe9b0d1 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:23.742242+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=www.mirp.tk request_id=b3ff5b2a-2dab-4a71-af60-cdebb50b8cc0 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:25.419585+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=febe7d7a-ede5-4978-be58-795396b3421c fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:34.251029+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=b108fe15-f040-4820-8029-40b1adac6daf fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:40.496391+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=b37b64fa-2add-4012-8e28-14f081735a9e fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:55:43.039190+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=015ff45f-73fd-4f6d-aa25-bd8a90750b40 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:56:26.616237+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=c2f3c33e-e266-4f54-a89b-69ddfb178b72 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:56:28.887699+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=c4223cb4-d2c1-48bf-b3f3-86ab0ec0ff6f fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:56:41.466263+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=5a7c827a-8f5d-4875-86f4-c4f404002f27 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:56:45.412995+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=0cb38443-9517-416b-af81-69b1f10deb60 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:56:58.794137+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=a0f44232-6871-4ed9-a539-0f8fc917b79b fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:57:58.909838+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=871dc0bb-14d7-463f-9927-dbe6aceb78c7 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:58:01.813479+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=www.mirp.tk request_id=95e6883f-5794-4205-991f-a61ee3145bc6 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T16:58:03.777659+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-falls-2247.herokuapp.com request_id=6b59338f-a42c-442c-a584-f11f0535cec6 fwd="5.138.11.232" dyno=web.1 connect=1 service=54 status=200 bytes=935
2014-07-21T16:58:03.727327+00:00 app[web.1]: Started GET "/" for 5.138.11.232 at 2014-07-21 16:58:03 +0000
2014-07-21T16:58:03.758452+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (0.2ms)
2014-07-21T16:58:03.732901+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T16:58:03.760554+00:00 app[web.1]: Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.0ms)
2014-07-21T16:58:04.026320+00:00 heroku[router]: at=info method=GET path="/assets/application-9cc0575249625b8d8648563841072913.css" host=enigmatic-falls-2247.herokuapp.com request_id=ccb7ffe8-a13a-4773-92d0-928217406f82 fwd="5.138.11.232" dyno=web.1 connect=5 service=20 status=304 bytes=1017
2014-07-21T16:58:04.228483+00:00 heroku[router]: at=info method=GET path="/assets/application-021a93d581524a2def3d799b2f33250e.js" host=enigmatic-falls-2247.herokuapp.com request_id=6160add7-9843-4db9-83eb-e01725cb11d4 fwd="5.138.11.232" dyno=web.1 connect=4 service=22 status=304 bytes=1001
2014-07-21T16:58:09.891699+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-falls-2247.herokuapp.com request_id=72e2de96-1df2-49d9-a3e5-ab35726d775a fwd="5.138.11.232" dyno=web.1 connect=1 service=71 status=200 bytes=935
2014-07-21T16:58:09.837503+00:00 app[web.1]: Started GET "/" for 5.138.11.232 at 2014-07-21 16:58:09 +0000
2014-07-21T16:58:09.872406+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (0.2ms)
2014-07-21T16:58:09.842623+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T16:58:09.877903+00:00 app[web.1]: Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.0ms)
2014-07-21T16:58:12.403882+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=4000a6ef-d466-49d4-b0da-76e4516f2bca fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T17:02:26.058252+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=9f0340e9-5933-41e6-add3-03e2619d12d1 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T17:02:28.358341+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=132d1268-6ed6-490f-920c-798d16f58762 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T17:02:32.538313+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=22e14eef-7923-4ccf-b05a-0677bc3886d3 fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T17:02:33.612220+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=mirp.tk request_id=60dd5718-2cd4-4382-a589-06b589b0179e fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T17:02:34.474567+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/favicon.ico" host=mirp.tk request_id=e46c880c-d028-48d9-b470-9fdfabbde0fa fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T17:02:36.279606+00:00 heroku[router]: at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path="/" host=mirp.tk request_id=088fe5e2-9471-4b87-88c8-2da333b1f05b fwd="5.138.11.232" dyno= connect= service= status=503 bytes=
2014-07-21T17:24:39.244148+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-falls-2247.herokuapp.com request_id=0090d0e7-3e46-4cb2-9f16-75dccffe67ab fwd="5.138.11.232" dyno=web.1 connect=33 service=24 status=200 bytes=936
2014-07-21T17:24:39.238284+00:00 app[web.1]: Processing by WelcomeController#index as HTML
2014-07-21T17:24:39.240136+00:00 app[web.1]: Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2014-07-21T17:24:39.232573+00:00 app[web.1]: Started GET "/" for 5.138.11.232 at 2014-07-21 17:24:39 +0000
2014-07-21T17:24:39.239479+00:00 app[web.1]: Rendered welcome/index.html.erb within layouts/application (0.1ms)
2014-07-21T17:24:39.491993+00:00 heroku[router]: at=info method=GET path="/assets/application-9cc0575249625b8d8648563841072913.css" host=enigmatic-falls-2247.herokuapp.com request_id=0e27319e-33b8-47ec-b35f-2ee2aba65df6 fwd="5.138.11.232" dyno=web.1 connect=3 service=10 status=304 bytes=1017
2014-07-21T17:24:39.684591+00:00 heroku[router]: at=info method=GET path="/assets/application-021a93d581524a2def3d799b2f33250e.js" host=enigmatic-falls-2247.herokuapp.com request_id=5953d49b-0026-47ab-8513-0a9cf01013eb fwd="5.138.11.232" dyno=web.1 connect=2 service=11 status=304 bytes=1001