I'm creating new ASP.NET Core application and it run on https://localhost:44382/. I want to set multiple urls to browse my application like site1.testing.com, site2.testing.com, site3.tseting.com.
Everytime I browser those urls , I want to redirect to my application.
I found this setting in launchSetting.json
"myCoreApp": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
as you see
"applicationUrl": "https://localhost:5001;http://localhost:5000",
By referencing this , I've tried changing in this setting and doesn't work.
site1.testing.comandsite2.testing.comto one real web application (Use NGINX server block, or Apache HTTP Server virtual host). I belief that, IIS also support this type of configuration. I did this. You can have belief you can do it.