I have a simple ASP site hosted on the same server as the database.
I am trying to separate these 2 entities and place them on separate servers.
I have setup the IIS settings on the web-server and setup the database on the DB Server.
They both work perfectly individually.
I changed the data-source on IIS config from local to the target DB server db.
Changed other key-parameters and web-config files.
Now, instead of localhost directing to index page, it is re-directing to default page.
Am I missing anything else?
Open IIS, click on your site, and look at the "Default Document" section. You likely need to specify "index.asp" (or whatever) as your default document.
Related
I'm having a bit of an issue with an IIS web application. I copied all the application files from the server, registered the DLL files, set up my DB server locally and now I'm trying to run the application locally, on my machine. The thing is that the app checks the server domain name when you log in and my corporate domain name is not in the list of "allowed" domains so the logging in fails.
Could I edit some IIS application config file(s) to make it look like the web server is actually under a different domain name? I want to keep my machine, overall, in the current domain.
I don't think that you can change the config files in the IIS.
I have an Umbraco website with an SQl db. I backed up the DB and imported it on the SQL server on the server here. I then copied all the files of my umbraco folder and placed them in a folder on the server here as well.
I then made an 'application' in IIS and gave it an 4.5 application pool (integrated). I linked it to the folder on the server where all of the files are.
When I browse to the site I get to see all the content, also the dynamic content from the DB, but none of the mark up is applied. If I add /umbraco behind it to access the dev dashboard I just get a white page.
I have only been working with it for 5 days and am new to umbraco. IIS on the local server here has no web deploy installed and FTP is also not an option. I developped the website with Webmatrix and web deploy & FTP are the only two publish option it gives me.
Is there something I did wrong or how can I get the website to work properly here?
Umbraco needs to run in Full Trust mode. Make sure that your IIS is configured for Full Trust.
On Features View --> .NET Trust Levels --> Full (internal)
My SharePoint setup is:
2 Web Front End servers, 1 of those WFE servers is also the application server then there is another server for my SQL database.
Server 2 which is the WFE and App Server combined is able to access all the site collections. Server 1 however can only access the root collection and is unable to access any other site collections I've created, Business Intelligence Centre for example.
To access the root collection I type in:
http://test1:100/ and I receive the Standard SharePoint team webpage.
If I alter the address to http://test2:100/ it opens up the same page without a problem.
When I navigate to http://test2:100/dept/bic/Pages/Default.aspx it opens with the BIC without a problem. As soon as I change the text from test2 to test1 then I get a 404 error. From what I've read I need to do some work in the Configure Alternate Access Mappings section under System Settings in Central Admin, however I'm lost at what I need to do in order for Server 1 to see this BIC site.
Here is an example of Server 2 accessing the home page, then the BIC
Now here is when I use Server 1 to access the home page, then the BIC
Any help is appreciated.
You're right about the alternate access mappings. Although some of the sites might respond like in your situation, SharePoint will only respond properly with an AAM configured for a given URL. In your case, when you have more than one web server, you need to use some kind of load balancer. You can look at using Windows Load Balancing services or you can work with your network team and use a hardware load balancer. Once you implement load balancing, you will create a new alternate access mapping with a new DNS name that will effectively point to both servers.
I need to create a website that will display some data fetched from mysql database.
When executing it on my local machine it works correctly.
What i need to know is how do i do this same when websites is moved to the server.I mean i cannot go and create a database for my website on the server.How is this done?
Thanks in advance.
your web host or web server should provide you with PHPmyadmin which allows you to create a database. So if you login on your web host, server you should be able to see phpmyadmin, if you click on that then u are allowed to create a database for your website in your webserver.
I just installed TFS2010, and set it up with the single server wizard. It installed me Sharepoint Services an let everything working pretty well.
But, the sharepoint URLs it generates from the Server name "server". As my setup is without a domain, the URLs work okay only from the server computer, not from the others.
I have to give access to LAN clients, and Internet Clients, both connected thought my Public Ip.
How can I change those sharepoint IPs from TFS to be generated From the IP, not from the Server's name??
Thanks in advance
Sharepoint is simply an ASP.Net web application sitting on IIS so all the configuration for host headers etc can be added in IIS itself - if you have multiple instance of sharepoint running on the server, you'll have to add URL's using the sharepoint configuration site but most stuff can be tweaked through IIS (IP's its listening on etc)
If you not on an domainan and want people to have access to the site though you'll have to add your machines IP to the DNS server that you clients are using