Struggling to get my site to work within IIS Express on Windows 7. (Umbraco) Works fine at work on Server 2012 R2.
IIS Settings
Sitename: umbraco.local
Application Pool: umbraco.local
Physical path (to the root folder)
App pool set at .Net v4.0
hosts file in System32 includes 127.0.0.1 umbraco.local
127.0.0.1 routes to the IIS7 page, as does localhost
umbraco.local can not be found
The root folder permissions is set to Everyone and full access..
any ideas
thanks
Related
I have a Linux Centos v7.9 with Apache installed. I published my web project to the server. For the backend I set it on port 90 and created a configuration file for apache with proxy server (to redirect to another port 31031, where .net 5 is listening and handling the requests. This works fine when I request my server ip with port 90. But when I wanted to set the backend as subdomain like api.domain.com and modified the configuration file, .net 5 is not handling the request anymore. When I request api.domain.com I see folder structure. What did I miss?
Here is the .conf file:
Service file:
Subdomain from cpanel:
Thanks.
we have developed a Angular 4 application.
I have windows server 2012 R2 as production box
should i use node server to host the angular application, or IIS can also be used without any issue ?
i do not have any background experience so please suggest
I USUALLY USE IIS without any probs .. Node.js usually for developing purpose (with angular cli and webpack dev server) .. but then in production and in PrePRod (so on my servers) i usuall use IIS...
just check the webconfig file...
for example ..
1 - set default page as Index.html
2 - set rewrite rules for redirect on Index.html ..
..
and the be sure to have installed the URL REWRITE MODULE on IIS
Hope it helps you!
I've successfully generated the production files and run from the node prod server (built into react-boilerplate). When I run the project from the IIS-configured URL, http://localhost/abc/, I get console errors:
GET http://localhost/main.21e300b8d1fb516da3f2.js and
GET http://localhost/main.7298ab25765cc3b7f65141e9b8a880ff.css
The path appears to be pointing to the root of localhost and doesn't seem to include "/abc".
I've set up my webpack config like so:
module.exports = (options) => ({
entry: options.entry,
output: Object.assign({
path: path.resolve(process.cwd()),
publicPath: '/',
}, options.output),...
Is there a setting in my Webpack config I'm missing? Thanks for any help.
It sounds like you've set up your site in IIS as a virtual directory within the IIS site pointing to localhost. The issue here is that any references to / in your site will translate to the root of your site, not the virtual directory.
Option 1 is to have Default Website point to your applicaiton (instead of the virtual directory).
Option 2 is to create a whole new site in IIS and bind it to another port (or port 80 with a host header and a HOSTS entry).
Looking at your config, what happens if you set publicPath to /abc instead of /?
All,
I have MAMP Pro 3.4. I have a virtual host 'mysite.local' running on the standard MAMP port 8888. I'm running Apache/MySQL server as my user (not WWW). Everything works.
But when I change the host name in MAMP to anything else (like 'localmysite', restart the servers and reload the site in Chrome, I get:
"Access Denied (policy_denied) Your system policy has denied access to the requested URL."
When I view the Hosts file from MAMP, it looks like MAMP correctly updated the host file:
127.0.0.1 localmysite # MAMP PRO - Do NOT remove this entry!
::1 localmysite # MAMP PRO - Do NOT remove this entry!
But it simply doesn't work. When I change the host name back to 'mysite.local' and restart the servers, it works again. What is wrong and how do I fix it so I can change the host name?
Thanks.
OK, after a lot of trial and error I figured out what was going on. It was a proxy server problem. My machine is connected to a corporate proxy server, and that server was attempting to interpret "localmysite" and failing to allow it.
In Chrome, I simply had to go to:
Settings->Advanced->Change proxy settings->Bypass proxy settings for these Hosts & Domains.
Then add "localmysite" to the list of sites that will bypass the proxy server.
I have IIS 7.5 running on a server x. I would like to hit a website called Test that is running on this server x from a client pc. It works when i login into the server and run it from localhost. When i go /Test it says file or directory not found? What am I missing?
Have you created a Virtual Directory in IIS for your site? That should allow you to navigate.
Creating a Virtual Directory: http://msdn.microsoft.com/en-us/library/ms751432.aspx