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
This how i created the site
asp.net iis publish
add a comment |
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
This how i created the site
asp.net iis publish
Why do you want to use a domain you don't own?
– Lex Li
2 days ago
add a comment |
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
This how i created the site
asp.net iis publish
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
This how i created the site
asp.net iis publish
asp.net iis publish
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
add a comment |
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
add a comment |
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
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 thatdatingapp.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
add a comment |
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
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 thatdatingapp.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
add a comment |
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
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 thatdatingapp.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
add a comment |
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
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
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 thatdatingapp.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
add a comment |
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 thatdatingapp.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
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Why do you want to use a domain you don't own?
– Lex Li
2 days ago