Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bal.thedev.id #82

Merged
merged 1 commit into from
May 20, 2021
Merged

Add bal.thedev.id #82

merged 1 commit into from
May 20, 2021

Conversation

fu-sen
Copy link
Contributor

@fu-sen fu-sen commented May 19, 2021

I pointed to the server I use for Telnet BBS as a CNAME record.
I run this server on Caddy. It seems an unknown experience, but it will work.

I pointed to the server I use for Telnet BBS as a CNAME record.
I run this server on [Caddy](https://caddyserver.com/). It seems an unknown experience, but it will work.
@Codeize
Copy link
Contributor

Codeize commented May 19, 2021

Hi. For verification purposes I'll need to see the CNAME file, a screenshot or a direct link will suffice.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 19, 2021

The CNAME you want to see is the file you use on Github Pages.
What would be ideal to show you instead in this case? Is that a project? Or is it a Caddyfile?

In the past, there was an application for Vercel, and it seems that there was also Cloudflare Pages.
It will be useful in the future when using these other web services and VPS.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 19, 2021

Should I issue a new issue for authentication methods other than GitHub Pages? I also mention some web services so I can help.


Additional information about this application:

The point destination of CNAME, bbs.yt, is registered in FreeDNS.
https://freedns.afraid.org/domain/registry/?sort=5&q=bbs.yt&submit=SEARCH

I use this Dynamic DNS to refer to a web server Caddy running on Windows.

Is there any other information you are missing to understand?

For the future of thedev.id, I would like to proceed with the process as it is.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 20, 2021

Of course I can generate a CNAME file that I don't actually use and submit that link to you.
https://github.com/fu-sen/bal.thedev.id/blob/main/CNAME

However, except for GitHub Pages, this CNAME is useless,

@Codeize
Copy link
Contributor

Codeize commented May 20, 2021

Please show me whatever method that's pointing to your desired subdomain. Be it a file, a setting, whatever. According to what you're saying it's your Caddyfile.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 20, 2021

I was linking a CNAME, so I expected you to understand that there is a project with the source here:
https://github.com/fu-sen/bal.thedev.id

Caddyfile is tentatively set as follows. After the name server is opened, :80 will be deleted and an SSL certificate will be issued. (Caddy also issues certificates! That's a feature)

bal.thedev.id:80 {
    root * D:\Dropbox\Express5800\bal.thedev.id
    encode zstd gzip
    file_server
    handle_errors {
        rewrite * /404.html
        file_server
    }
}

@Codeize
Copy link
Contributor

Codeize commented May 20, 2021

Hi. It seems your supplied domain doesn't redirect to bal.thedev.id, it redirects to balloon.tel. Why is this?

@fu-sen
Copy link
Contributor Author

fu-sen commented May 20, 2021

Do you directly refer to the CNAME point balloon.bbs.yt? It's like looking at USER.github.io, so it's natural that you can't see it.
Do you really understand how it works and offer subdomains?

@Codeize
Copy link
Contributor

Codeize commented May 20, 2021

Hi. I know well how this system works as I've been maintaining it for close to a year.

Our system works like this:

  • You point to your subdomain that you requested. This means that your website should redirect to bal.thedev.id, not balloon.tel. This proves to us that you have linked the subdomain. Currently it redirects to balloon.tel, which a) doesn't prove to me you've linked it. b) Leads me to question why you want a subdomain here when you already have a premium TLD.
  • We haven't experience with integrating with the system you use, hence why it's taking a bit longer.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 20, 2021

No. Because you don't know Caddy. Otherwise you wouldn't have returned me the word link CNAME.

This is written in the Caddyfile. This is the result you saw.

balloon.bbs.yt {
    redir https://balloon.tel{uri} permanent
}

Can you understand Caddyfile as something like Apache's conf or .htaccess? I have already set up some domains here.

@Codeize
Copy link
Contributor

Codeize commented May 20, 2021

Alright I've made a record with our system.

The name and target is what you provided in cname.list.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 20, 2021

There is no point in looking at CNAME points. For example: cname.vercel-dns.com.
Let's continue here for more details on this: #83

@Codeize
Copy link
Contributor

Codeize commented May 20, 2021

Ok. Can you explain what target you require, you submitted your PR with the target being balloon.bbs.yt.

What target do you want the target to point to?
Also please keep all details in this PR as it's solely related to your subdomain.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 20, 2021

I checked the name server settings.
Since I use Dynamic DNS, the IP address of the A record is variable.

PS C:\Users\balloon> dig bal.thedev.id

;; ANSWER SECTION:
bal.thedev.id.          300     IN      CNAME   balloon.bbs.yt.
balloon.bbs.yt.         60      IN      A       183.177.211.113

I modified the Caddyfile. Caddy can now issue an SSL certificate:

bal.thedev.id {
    root * D:\Dropbox\Express5800\bal.thedev.id
    encode zstd gzip
    file_server
    handle_errors {
        rewrite * /404.html
        file_server
    }
}

Let's see the result:
https://bal.thedev.id/

You can close this as soon as you can confirm. I will keep the project so you can see.
Thank you for your understanding and response. You should have had a good experience for the future.

@fu-sen
Copy link
Contributor Author

fu-sen commented May 20, 2021

I have already explained about *.bbs,yt. I'm using this for Dynamic DNS:
#82 (comment)

@Codeize
Copy link
Contributor

Codeize commented May 20, 2021

Thanks for your cooperation!

@Codeize Codeize merged commit f5caa97 into thedev-id:master May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants