[Solved] How to implement accessing MariaDB by phpmyadmin with custom DDNS via reverse proxy? (DDNS is managed by Cloudflare) - Slash Engineer 要多斜有多斜

Breaking

Slash Engineer 要多斜有多斜

程式設計的學習過程 (環境設置、開發環境、程式設計、語法練習、資料結構等等...) 99'暑假:六月初開始. 社會新鮮人:十一月初開始.

2023年4月24日 星期一

[Solved] How to implement accessing MariaDB by phpmyadmin with custom DDNS via reverse proxy? (DDNS is managed by Cloudflare)

Step. 1

Go to the [Synology package center].

Install MariaDB and phpmyadmin on the OpenSource page.

Just set up MariaDB by port 3333 to implement as a sample.





Step. 2

Confirm which port is supported by Cloudflare

80

443

25

465

587

110

995

143

993

22

21




Step. 3

Setup Reverse Proxy Server in Synology.

[Control panel] > [System] > [Application Portal] > [Advanced] > [Reverse Proxy]


Way 1: if set all forced  HTTPS access in Cloudflare

-->Setup as below then [Save





Way 2: if you want to access only by HTTPS


Step. 4

Go to [Cloudflare] > [add a CNAME] as below > [Save]







Step. 5

Now wait for the DNS setting to take effect then click phpmyadmin in Synlogoy DSM.

https://db.sample.com/phpmyadmin/



沒有留言:

張貼留言

問題沒有大小或好壞