Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ask Sejsbo 11 posts 81 karma points
    Feb 15, 2023 @ 23:03
    Ask Sejsbo
    0

    Is it possible to query umbraco pages for a specific added domain?

    Hi, I have just gotten started on umbraco, so I might be misunderstanding some thing.

    But, I have a headless umbraco umbraco solution, which I have added two domains in "domains and culture" for:

    enter image description here

    and now, I have the project set up such that the different sites can be queried with graphql.

    But whenever I query the site for any of the two hosts, it is able to find the site allright, but whichever domain I request in my call, it only returns the lastly added url (I believe this i retrieved as from the umbraco content)

    So, Is it possible in some way to change the UmbracoContextReference such that it will return me stuff from the actual domain I requested? I hope the question makes sense

Please Sign in or register to post replies

Write your reply to:

Draft