I set up my own domain in Heroku by following the steps below.
Route 53 routing is not working properly.
Retrieving Domains on Route 53
cocowa.works
Register Domain with Heroku
$heroku domains:add example.com
$ heroku domains —add www.example.com
Create a Host Zone on Route 53
Create CNAME Record Set
Name: wwww
Type—CNAME
Value: cocowa.herokuapp.com
Create S3 Bucket
Bucket name
cocowa.works
Configuring Static website hosting
Request
>Target bucket or domain
www.cocowa.works
Bucket name
cocowa.works
Configuring Static website hosting
Redirect a request
>Target bucket or domain
www.cocowa.works
Create A Record
Name: (blank)
Type: A
Alias: Yes
Alias Target: Select Bucket for "cocowa.works" registered with S3
H URL of Heroku app
http://cocowa.herokuapp.com/
取得 Acquired domain
http://cocowa.works/
I would appreciate it if you could let me know if there are any mistakes in the settings.
Thank you for your cooperation.
Do I need an S3 bucket?
Wouldn't you like Alias to return the A record of cocowa.works with the IP address of cocowa.herokuapp.com?
It's solved.
As a result, the cause was on the configuration side of the domain.
(Route 53 routing configuration was not a problem in the first place...)
Thank you to everyone who responded.
620 Uncaught (inpromise) Error on Electron: An object could not be cloned
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.