Posts

Showing posts from January, 2016

Windows DNS Export/Import

Image
Exporting / Importing Standard DNS zone records are relatively easy; just copy the zone (eg. orange.com.dns ) files from existing server (C:\WINDOWS\system32\dns) and place these .dns files in the same location (C:\WINDOWS\system32\dns) in the target (new) server, restart the DNS service and you are done. Note: if you are hosting mix DNS record (AD and Standard) then copy zone file may not work. Your need to create empty primary standard domain in forward lookup zone and open this zone file from C:\WINDOWS\system32\dns and copy the contents from the source .dns file and reload or restart the dns server for refresh. . Exporting AD Integrated DNS zone records: Generally exporting AD DNS to files is recording purpose. We can build a new DNS server and all these record will be replicated. Step 1. Mouse right click on the every zone record and click on Export list…. Alternative (using dnscmd command) F.Y.I – DNSCMD comes with the Windows Support Tools. C

Exporting and Importing Sites and App Pools from IIS 7 and 7.5

Exporting and Importing Sites and App Pools from IIS 7 and 7.5 When using multiple IIS server in a Load Balanced Environment it will  be alot of work to create all your website twice with the same settings on each webserver. Therefor it is possible to export and import your configuration from one webserver to the other. This will also be usefull when your upgrading from IIS 7 (Windows Server 2008) to IIS 7.5 (Windows Server 2008 R2). When you create a website in IIS 7 or 7.5 a unique application pool will also be created and used by this website, that’s why you need to import these application pools first on the second webserver before importing the website(s). To Export the Application Pools on IIS 7 : %windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml This will export all the application pools on your webserver, therefor you need to edit the apppools.xml and remove the application that you do not need to import for example: DefaultA

HOW TO CONNECT FTP OVER SSL/TLS IN FILEZILLA

Image
For the security reasons, we recently enabled FTP over SSL/TLS on servers. Plain text authentication (Clear Text Session) will no longer work on our servers. For the users we would suggest to use FTP client like FileZilla, to upload their web contents. Below mentioned are the instructions to upload files/folders using FileZilla FTP client: Create Site Go to File >> Site Manager >> New Site . Following are the required details to fill up. Host: Enter Hostname(i.e. ftp.yourdomain.com) or IP address which we have sent in Welcome e-mail. Port: 990 (Default FTP port is 21, you can also keep it blank). Protocol: FTP - File Transfer Protocol. Encryption: Select Required implicit FTP over TLS from dropdown list. Logon Type: Select Normal from the dropdown list. User: Your FTP username. Password: Your FTP Passw ord. 3.Click on Connect button, if you wish to temporary connect otherwise

How to setup multiple PHP versions on Apache

There are several reasons you might need to run multiple versions of PHP on the same server. Maybe you have a PHP 5.2 application running on your server and you need to start working on another application based on a new framework like Symfony2 or Lithium? Perhaps you haver a client with a legacy site that runs PHP 5.2, or maybe you simply want to test some of the new functionality? This post is going to explain how to setup a server to run multiple versions of PHP. Apache doesn’t allow multiple versions of PHP using mod_php, so we need to compile it using FastCGI support. This will allow us to configure multiple sites, each one with a different version of PHP. I also allow us to specify the owner of the PHP process so we don’t have to use the default Apache user. Assigning specific users for each site has a number of advantages, including eliminating those pesky permissions problems when you have files created both by users and the webserver. Pre-requisites Before the start, w