11
submitted 1 day ago by twopi@lemmy.ca to c/webdev@programming.dev

Same as above:

Can I create a CNAME record to point a subdomain to a webpage e.g. blog.example.com -> example.com/blog?

I would also like to know if I can do this to point subdomains to webpages on different websites.

e.g. bluesky.example.com -> bsky.app/profile/example.com

you are viewing a single comment's thread
view the rest of the comments
[-] irelephant@programming.dev 8 points 1 day ago

No, when you make a http request, the route is a part of the headers. DNS is only the name part.

this post was submitted on 18 May 2025
11 points (100.0% liked)

Web Development

3933 readers
89 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS