Windows 11 + all updates. Visual Studio 2022 + all updates
I have a website which can run on https://localhost:44313/ in my CMS i have configured it to use a test domain.
I have set a test domain set against it i.e. www.testing.com and testing.com and i amended the hosts file as below (as an admin)
localhost:44313 testing.com www.testing.com
I ran
ipconfig /flushdns
and opened up the URL testing.com in a private browser (to avoid and caching issues) and it never works?
Is there a way to get this working in this manner so i can test the site in this manner? i have usually moved the site to a Windows Server (2012 and 2019) where i can setup IIS and test but was wondering if there is a way to do this on my local machine against the address provided by Visual Studio?