page is not displaying, php project on iis - iis

I have done all IIS and PHP manager configuration
and created one website called website1 and I set the ip address and name website1.net in host file, when I click browse in IIS the result is page cant be displayed. any solutions ?

Related

How create symbol link for subdomain in IIS, which will open another domain running on IIS

I created a new site on IIS, for example mysite.com. Site is running, it is opened in browser, all good.
But I need create subdomain 1.mysite.com, which will open mysite.com. I don't mean a redirect. I mean open in browser 1.mysite.com and will be opening mysite.com
How can I do this on IIS?
Since you basically want two different names for your website
create a DNS entry for 1.mysite.com to point to mysite.com host entry
in IIS ,you can just add another binding with hostname 1.mysite.com

Configure ISAPI redirector: worker propreties for IIS and Liferay

we have fronted Liferay tomcat server with IIS , and we used ISAPI tomcat redirector for that ,everything works just fine.
the problem is that We need to map a specific Domain name to a specific URL on Liferay:
workers.properties :
worker.mydomain_com.port=8014
worker.mydomain_com.host=127.0.0.1
worker.mydomain_com=ajp13
uriworkermap.properties
/mydomain.com/=mydomain_com
/www.mydomain.com=mydomain_com
/www.mydomain.com/*=mydomain_com
This configuration will map www.mydomain.com to localhost:xxxx .
what i want is how to configure the worker mydomain_com so it can be mapped to localhost:xxxx/web/organiation. I searched for worker.mydomain.options but there is no configuration for the uri, is there any way to do ?
Thanks
As your configuration in IIS for mapping to www.mydomain.com is working fine. Its better to keep it like that and enable friendly URL for site in liferay so that you don't really need /web/organiation
Here are the steps to do in liferay 6.1
Login to Liferay as administration.
Go to Control Panel
Select your site and then click on "Site Settings".
Click on "Site URL" in right side.
Under "Virtual Hosts", you should see a text box named "Public Pages"
Enter www.mydomain.com and save.
Then liferay automatically redirect requests coming to it from www.mydomain.com to public pages of this site.
If you are using different liferay version, steps may be little different. But it still provides an option to set domain name for site.

Getting error while put any text in Host Name field in IIS 7.5 while set up website

I have created a website and virtual directory in IIS 7.5 and map the root folder to this website.
I put Host Name blank and browse the website by typing http://localhost:82/ in browser.
Website running properly.
Now I put abc in Host Name text box and browse the website following error display:
This page can't be displayed
•Make sure the web address http://abc:82 is correct.
•Look for the page with your search engine.
•Refresh the page in a few minutes.
Is there anything I'm missing?
Thanks
I got answer.
Actually I have to make en entery in c:\windows\system32\drivers\etc\hosts for abc hostname

IIS 7 Website Migration & Configuration

I am in the process of migrating an existing webserver running IIS 6 to IIS 7. I have setup the new websites on the new server but cant seem to test them as once I have entered the domain name when I selec t "browse" from within IIS 7 I get the site on my original server. How can I test the configuration of my new sites on my new server before migrating the domain names (eg updating the DNS records etc.)?
Any help much appreciated.
On the server, edit the hosts file to force the server into thinking the website is located on its self, instead of the IIS6 server.
The hosts file is located at C:\WINDOWS\system32\drivers\etc\hosts.
Just add a line in like:
192.168.0.1 www.mywebsite.com
where 192.168.0.1 is the IP address of the IIS7 server, and www.mywebsite.com is the website address to test.
Then restart Internet Explorer and enter www.mywebsite.com (or browse from within iisadmin) again, and it should give you the IIS7 site.
You could also do this on your PC and leave the server alone.
Don't forget to remove the line from your hosts file when you're done!

IIS7 startup site

I have a Windows 2008 Server with IIS7 on it and a web page running under the name, let's say myApplication. I have a domain name that points to the IP of my server, let's say myApplication.com.
In order to access my application I have to enter http://myApplication.com/myApplication.
If I write http://myApplication.com/ I arrive to the IIS7 start page. Is there a way (besides rewriting the iisstart.htm to make a JavaScript or meta-data redirect) to automatically open the myApplication when someone enters "http://myApplication.com/"?
What I would like is the following:
The user enters in the browser: "http://myApplication.com/"
He/she is taken to "http://myApplication.com/myApplication"
In the URL bar of the browser only "http://myApplication.com/" shows and everything inside the application is relative to this URL.
Generally when I configure IIS, I set the properties for the "default web site" to a folder that doesn't contain anything, then create individual entries within IIS for each web site. For example, you would create a new entry for "MyApplication.com" and set its home directory to the proper folder on the server that contains your root files (usually c:\inetpub\wwwroot\myapplication.com\ but it could be anywhere you like).
It sounds as if you have created a folder for your application, but do not have a specific entry in IIS configured to handle the requests and load files from the proper folder.
If you have a dedicated IP address for the application, be sure to specify that IP within the site settings for that site. If you're using a single IP for multiple sites, configure the IP AND hostnames/domains that will be used to access that site so IIS will know which site entries belong to which domains and where to route the requests.

Resources