Can't access IIS domain name











up vote
0
down vote

favorite












i am trying to publish my website in IIS but when i try to ping the domain name it will give this instead of local host



enter image description here



This how i created the site



enter image description here










share|improve this question
























  • Why do you want to use a domain you don't own?
    – Lex Li
    2 days ago















up vote
0
down vote

favorite












i am trying to publish my website in IIS but when i try to ping the domain name it will give this instead of local host



enter image description here



This how i created the site



enter image description here










share|improve this question
























  • Why do you want to use a domain you don't own?
    – Lex Li
    2 days ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











i am trying to publish my website in IIS but when i try to ping the domain name it will give this instead of local host



enter image description here



This how i created the site



enter image description here










share|improve this question















i am trying to publish my website in IIS but when i try to ping the domain name it will give this instead of local host



enter image description here



This how i created the site



enter image description here







asp.net iis publish






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked 2 days ago









James Fallon

527




527












  • Why do you want to use a domain you don't own?
    – Lex Li
    2 days ago


















  • Why do you want to use a domain you don't own?
    – Lex Li
    2 days ago
















Why do you want to use a domain you don't own?
– Lex Li
2 days ago




Why do you want to use a domain you don't own?
– Lex Li
2 days ago












1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










datingapp.com domain is mapped to IP 72.52.4.119 which you can confirm using this link



If you want to point datingapp.com domain to your localhost, you need to add an entry in host file which can be found at C:WindowsSystem32driversetc on Windows operation system.



Open host file using any text editor in administrator mode and add the following:



127.0.0.1 datingapp.com






share|improve this answer





















  • so everytime i want to create new domain name i should modify host file ?
    – James Fallon
    2 days ago










  • I am not sure why you need domain name to browse your WebApp on localhost? Domain names are normally bound to server IP address which hosts your deployed application. If you still want to test your application using a domain name pointing to your local application then you will require a new entry in host file
    – Mohsin Mehmood
    2 days ago










  • i did what you said but i received this error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
    – James Fallon
    2 days ago










  • @JamesFallon It means your original issue is resolved that datingapp.com is pointing to local website. Now you need to check on the documentation about hosting ASP.NET Core using IIS docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
    – Mohsin Mehmood
    2 days ago











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238477%2fcant-access-iis-domain-name%23new-answer', 'question_page');
}
);

Post as a guest
































1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










datingapp.com domain is mapped to IP 72.52.4.119 which you can confirm using this link



If you want to point datingapp.com domain to your localhost, you need to add an entry in host file which can be found at C:WindowsSystem32driversetc on Windows operation system.



Open host file using any text editor in administrator mode and add the following:



127.0.0.1 datingapp.com






share|improve this answer





















  • so everytime i want to create new domain name i should modify host file ?
    – James Fallon
    2 days ago










  • I am not sure why you need domain name to browse your WebApp on localhost? Domain names are normally bound to server IP address which hosts your deployed application. If you still want to test your application using a domain name pointing to your local application then you will require a new entry in host file
    – Mohsin Mehmood
    2 days ago










  • i did what you said but i received this error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
    – James Fallon
    2 days ago










  • @JamesFallon It means your original issue is resolved that datingapp.com is pointing to local website. Now you need to check on the documentation about hosting ASP.NET Core using IIS docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
    – Mohsin Mehmood
    2 days ago















up vote
0
down vote



accepted










datingapp.com domain is mapped to IP 72.52.4.119 which you can confirm using this link



If you want to point datingapp.com domain to your localhost, you need to add an entry in host file which can be found at C:WindowsSystem32driversetc on Windows operation system.



Open host file using any text editor in administrator mode and add the following:



127.0.0.1 datingapp.com






share|improve this answer





















  • so everytime i want to create new domain name i should modify host file ?
    – James Fallon
    2 days ago










  • I am not sure why you need domain name to browse your WebApp on localhost? Domain names are normally bound to server IP address which hosts your deployed application. If you still want to test your application using a domain name pointing to your local application then you will require a new entry in host file
    – Mohsin Mehmood
    2 days ago










  • i did what you said but i received this error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
    – James Fallon
    2 days ago










  • @JamesFallon It means your original issue is resolved that datingapp.com is pointing to local website. Now you need to check on the documentation about hosting ASP.NET Core using IIS docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
    – Mohsin Mehmood
    2 days ago













up vote
0
down vote



accepted







up vote
0
down vote



accepted






datingapp.com domain is mapped to IP 72.52.4.119 which you can confirm using this link



If you want to point datingapp.com domain to your localhost, you need to add an entry in host file which can be found at C:WindowsSystem32driversetc on Windows operation system.



Open host file using any text editor in administrator mode and add the following:



127.0.0.1 datingapp.com






share|improve this answer












datingapp.com domain is mapped to IP 72.52.4.119 which you can confirm using this link



If you want to point datingapp.com domain to your localhost, you need to add an entry in host file which can be found at C:WindowsSystem32driversetc on Windows operation system.



Open host file using any text editor in administrator mode and add the following:



127.0.0.1 datingapp.com







share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









Mohsin Mehmood

2,0022513




2,0022513












  • so everytime i want to create new domain name i should modify host file ?
    – James Fallon
    2 days ago










  • I am not sure why you need domain name to browse your WebApp on localhost? Domain names are normally bound to server IP address which hosts your deployed application. If you still want to test your application using a domain name pointing to your local application then you will require a new entry in host file
    – Mohsin Mehmood
    2 days ago










  • i did what you said but i received this error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
    – James Fallon
    2 days ago










  • @JamesFallon It means your original issue is resolved that datingapp.com is pointing to local website. Now you need to check on the documentation about hosting ASP.NET Core using IIS docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
    – Mohsin Mehmood
    2 days ago


















  • so everytime i want to create new domain name i should modify host file ?
    – James Fallon
    2 days ago










  • I am not sure why you need domain name to browse your WebApp on localhost? Domain names are normally bound to server IP address which hosts your deployed application. If you still want to test your application using a domain name pointing to your local application then you will require a new entry in host file
    – Mohsin Mehmood
    2 days ago










  • i did what you said but i received this error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
    – James Fallon
    2 days ago










  • @JamesFallon It means your original issue is resolved that datingapp.com is pointing to local website. Now you need to check on the documentation about hosting ASP.NET Core using IIS docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
    – Mohsin Mehmood
    2 days ago
















so everytime i want to create new domain name i should modify host file ?
– James Fallon
2 days ago




so everytime i want to create new domain name i should modify host file ?
– James Fallon
2 days ago












I am not sure why you need domain name to browse your WebApp on localhost? Domain names are normally bound to server IP address which hosts your deployed application. If you still want to test your application using a domain name pointing to your local application then you will require a new entry in host file
– Mohsin Mehmood
2 days ago




I am not sure why you need domain name to browse your WebApp on localhost? Domain names are normally bound to server IP address which hosts your deployed application. If you still want to test your application using a domain name pointing to your local application then you will require a new entry in host file
– Mohsin Mehmood
2 days ago












i did what you said but i received this error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
– James Fallon
2 days ago




i did what you said but i received this error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
– James Fallon
2 days ago












@JamesFallon It means your original issue is resolved that datingapp.com is pointing to local website. Now you need to check on the documentation about hosting ASP.NET Core using IIS docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
– Mohsin Mehmood
2 days ago




@JamesFallon It means your original issue is resolved that datingapp.com is pointing to local website. Now you need to check on the documentation about hosting ASP.NET Core using IIS docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/…
– Mohsin Mehmood
2 days ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238477%2fcant-access-iis-domain-name%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma