How can I password protect my Linux Fusion Website?

How can I password protect my Linux Fusion Website?

One of the most common configuration changes users desire is the ability to easily password protect a website directory or file from public access. This is easily done with the help of an .htaccess file.

The first step is to generate an .htaccess file. Create the file using a text editor and following the pattern below (replace the word ‘donet’ with your username):

passwordProtect1

You can also change the AuthName to a message of your choice. Just replace ‘Secure’ with your preferred text leaving the quotes.

This file will be placed in the directory you wish to secure.

passwordProtect2

The second step is to generate an .htpasswd file. If you have your own server or VM through Donet, you can do this on the command line. If you have a shared hosting solution, you will need to generate the .htpasswd file using a tool such as this one: www.htaccesstools.com/htpasswd-generator/. Copy your encrypted string into a new text file, save it as .htpasswd, and upload via FTP to your root user directory*.

passwordProtect3

*NOTE*
Your root user directory is the directory that you see when first logging in via FTP. Typically, this is not the directory that your website files are in (i.e. ‘www’), but is the directory that contains the ‘www’ directory.

passwordProtect

After creating your .htaccess and .htpasswd files, test to ensure it is working:

passwordProtect4

.htaccess (distributed configuration) files can be used for all sorts of things including password protecting directories, enabling directory browsing, etc. For a more advanced look into the possibilities of .htaccess, check out the Apache Tutorial page

How do I upload and include my own PHP libraries in my Windows Fusion website?

How do I upload and include my own PHP libraries in my Windows Fusion website?

PHP settings can be viewed by going to ‘www.yourdomain.tld/phpinfo.php’.

You can customize certain PHP directives in your PHP configuration file. To access this file, log in to your site via your preferred FTP client.

You will see several folders on the right, one of them being PHP.

windowsPHP1

If you open up that folder, you will see a file called php.ini.

windowsPHP2

This folder will already have several directives configured. You can place your additional PHP directives in this file. Since the web server is continuously monitoring changes to this configuration file, you should notice these changes take place immediately.

Technical Overview current as of August 29, 2012

Current Version: 5.3.10

We are currently running PHP 5.3.10 (latest stable version as of 03/01/2012). As new versions are released, we will test and implement the new PHP versions in addition to supporting this PHP version. If your application requires a specific version of PHP, please contact us and we can attempt to work with you to accommodate your specific requirements.

Runtime Protocol: FastCGI

For performance and security reasons we have implemented PHP in our Windows Fusion environment utilizing the FastCGI protocol for interfacing PHP to the web servers.

Runtime Session Save Handler: PHP WinCache

“Windows Cache Extension for PHP is a PHP accelerator that is used to increase the speed of PHP applications running on Windows and Windows Server. Once the Windows Cache Extension for PHP is enabled and loaded by the PHP engine, PHP applications can take advantage of the functionality without any code modifications.” – IIS.NET

We have taken several steps to improve the performance of PHP sites hosted on our Windows Fusion product. If you have any additional technical questions, please contact us for more information.

How can I use phpMyAdmin with my Linux Fusion website?

How can I use phpMyAdmin with my Linux Fusion website?

If you’re running a content management system (CMS) like WordPress or Joomla on your DataYard Fusion website, one of the things you may need is direct access to the MySQL database powering the CMS. You could use the mysql command line client, but there are web tools that can make it much easier. One such tool is phpMyAdmin.

What you will need to install phpMyAdmin on your website

  • Your own domain name
  • A Linux Fusion web site from DataYard (including your FTP and MySQL login information)
    Please note that this tutorial will not work with Windows Fusion websites
  • A web browser
  • An FTP client

Here is a quick (<5 minutes) video tutorial on how to install phpMyAdmin inside your Fusion website:

Note:  You will need to download phpMyAdmin 4.0.10.20  (https://www.phpmyadmin.net/downloads/).  Newer versions will not work.

If you have any trouble during installation please, contact DataYard support.

Common Errors: Outlook 2007 asks for your Network Password

Common Errors: Outlook 2007 asks for your Network Password

How to resolve the pop up in Outlook 2007 ‘Enter Network Password’

This prompt appears anytime the password you have stored in your mail client does not match the password that we have in our system. This can happen if you’ve recently updated your password, changed your username, or if Outlook has lost the saved information. This password is the same password that you use to check your email account.

Associated error message:

“Enter Network Password”

To resolve this issue, follow these steps for Outlook 2007:

  • From the main screen select Tools.
  • Select Account Settings.
  • From the Email tab, select your DataYard account and then Change.

netPassOutlook072

  • You will want to remove the password that’s listed (it will be in asterisks) and try re-typing your password to ensure there are no mistakes.

netPassOutlook073

If you are unable to resolve this issue or are unsure of your password you can call DataYard support staff to verify or reset your password.

How do I modify the Hosts file on my PC?

How do I modify the Hosts file on my PC?

How to modify your computer’s Hosts file.

Much like DNS, your computer’s Hosts file associates IP addresses to host names. You may not always have control over DNS, but you can always have control over your Hosts file. The Hosts file can be used to resolve domain names without the use of DNS.

Why you would want to make changes to the Hosts file:

  • to preview websites in development
  • to do network testing
  • to increase browsing speeds (by bypassing the DNS query process)

Most hosting platforms don’t offer a “site preview” tool for website development. So, for further explanation of the Hosts file, I’m going to use the development scenario as an example of how to use it.

For example, you have your website loaded on a development server, but want a way to preview the site to ensure all the changes are working properly before changing the DNS and taking the site live.

You would first open your hosts file to point the domain name to the development server’s IP address.

This is how it’s done on a Windows 7 operating system:

  • Open the Start menu, go to Accessories, then find the program Notepad.
  • Once you’ve located Notepad, right-click on the icon and choose ‘Run As Administrator’
  • You will likely get the following message, you will want to select ‘Yes’

123

  • From inside the Notepad program you will go to My Computer, then Local Disk ( C: ) Then Windows, Then System32, Then Drivers and finally the folder etc.

123hosts

  • You will notice it says ‘no items match your search.’ At the bottom of the screen type “Hosts” where it says File Name: and this will allow the file to open in notepad.

123hosts2

  • Your screen should show the following information:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

  • You will then add the IP address of the development server to the bottom of the Hosts file, hit “Tab” on the keyboard, and then add the host name(s). This is what the final Hosts file would look like for this scenario:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
64.56.96.23         donet.com
64.56.96.23         www.donet.com

  • Now, just save the Hosts file and browse to the site. Your system will bypass DNS for that domain name and only pull content from the server you specify, basically showing you how that site would behave if the DNS records were pointing to it.

I should note that if you try this exact example, you will not see a difference in the Donet website as this is the current location of the site hosting.

If you have any questions please, contact DataYard Support.

How can I create sub-folders in Webmail?

How can I create sub-folders in Webmail?

How to create a new folder within your DataYard webmail.

You may wish to keep your saved messages organized by creating folders within the webmail interface if you are using this daily to check your mail or even as a place to keep and organize backups of your email messages.

First, you will need to log into your webmail portal by browsing to webmail.donet.com and entering your username and password.

Please note your username is NOT the full email address. If you do not know your username or password please contact support

newFolderWebmail1

You will need to be in your mailbox to add folders; you can browse to your mail by selecting the Mail icon from the list on the left side of the screen.

newFolderWebmail2

From within your mail folder you will see a new menu across the top of the screen, select Folders.

newFolderWebmail3

From the Folder Navigator you will first need to select your parent folder for this new folder

For example, I want to create a folder called ‘August’ under the folder ‘Inbox’ I would checkmark next to Inbox.

newFolderWebmail4

Next, choose Create New Folder from the Choose Action drop-down menu

newFolderWebmail5

Then you will get a pop-up asking you to name your folder, you can name this folder anything you wish, then hit Ok.

newFolderWebmail6

You will see confirmation that the folder was successfully created at the top of your screen

newFolderWebmail7

After you refresh your inbox you can now see your new folder listed in the left-side menu.

newFolderWebmail8

Common Errors: No Relaying Allowed for iPhones 4, 4S and 5

Common Errors: No Relaying Allowed for iPhones 4, 4S and 5

How to resolve the error ‘No relaying allowed’ on your iPhone 4, 4S, or 5

DataYard servers require SMTP authentication to allow messages through our server. This setting must be used when attempting to send messages using smtp.donet.com.

Associated error message:

  • “No relaying allowed by mail server”
  • “Server does not allow relaying”

To resolve this issue, follow these steps:

  • From the home screen, Select
  • Select Mail->Contacts and Calendars.

noRelayIphone

  • Select your DataYard account.
  • Scroll down until you see SMTP under the Outgoing Mail Server heading – Select for more options.

noRelayIphone2

  • Select smtp.donet.com which should be under the Primary Server heading
    • If this is set to something other than smtp.donet.com, then you are not sending through DataYard mail servers and this fix will not resolve your issue.
    • You can change this by selecting smtp.donet.com under other SMTP servers and after selecting ‘ON’ set as default by choosing the option ‘default’ in the server settings.

noRelayIphone3

  • Within the options for the primary server, you want to make sure your username and password are entered.

noRelayIphone4

  • Then hit Done and try sending a message again.

Common errors: No Relaying Allowed in Mac Mail

Common errors: No Relaying Allowed in Mac Mail

How to resolve the error ‘The recipient [email address] was rejected by the server because it does not allow relaying.’

DataYard servers require SMTP authentication to allow messages through our server. This setting must be used when attempting

Associated error message:

A copy has been placed in your Outbox. The recipient [email address] was rejected by the server because it does not allow relaying.

To resolve this issue, follow these steps for Mac Mail:

  • From the main screen select Mail from the toolbar menu
  • Select the Accounts icon

noRelayMacMail1

  • Select Server Settings

noRelayMacMail2

  • Once you have selected the authentication type ‘password’ and re-entered your username and password you should stop seeing this error.

If you have any questions, please contact DataYard support.

Common errors: No Relaying Allowed in Outlook 2007

Common errors: No Relaying Allowed in Outlook 2007

How to resolve the error ‘No Relaying Allowed’ in Outlook 2007

DataYard servers require SMTP authentication to allow messages through our server. This setting must be used when attempting to send messages using smtp.donet.com.

Associated error message:

The message could not be sent because one of the recipients was rejected by the server. The rejected email address was ‘<[email protected]>’. Subject: ‘<Test>’, Account: ‘<Test>’, Server: ‘<smtp.microsoft.com>’, Protocol: SMTP, Server Response: ‘550 <[email protected]>… Relaying Denied’, Port: 25, Secure (SSL): No, Server Error: 550, Error Number: 0x800CCC79

To resolve this issue, follow these steps for Outlook 2007:

  • From the main screen select Tools
  • Then, select Account Settings from the drop down list
  • Click View/Change Existing
  • Select More Settings (bottom right hand corner)

noRelayOutlook071

  • Under the tab labeled Outgoing Server choose the option ‘My Outgoing Server (SMTP) requires Authentication’ and the sub-option ‘Use same settings as my incoming mail server’

noRelayOutlook072

  • Hit ‘OK’ to exit, and you should now be able to send messages.

How can I configure Outlook 2007 to work with Connect Mail?

How can I configure Outlook 2007 to work with Connect Mail?

From the main screen select Tools

Then, select Account Settings from the drop down list.

outlook07Setup1

Then select New.

outlook07Setup2

Once you have entered your information into the first screen you will then select More Settings.

outlook07Setup3

From the More Settings screen you will need to locate the Outgoing Server tab; checkmark the option for My Outgoing Server (SMTP) requires Authentication, and use same settings as my incoming mail server.

outlook07Setup4

Then you will select the Advanced Tab and enter the following port information:

POP3:

  • Incoming Mail server: 995
  • This server requires an encrypted connection(SSL): checked
  • Outgoing Mail server: 587

OR

IMAP:

  • Incoming Mail server: 993
  • This server requires an encrypted connection(SSL): checked
  • Outgoing Mail server: 587

Under this tab, you will also see an option for Delivery. This option allows your mail program to leave a copy of the messages on the server as it downloads them. This option is not necessary when using IMAP.

outlook07Setup5

Now, you will hit OK, and it will take you back to the first screen.
From the main screen you will want to select Test Account Settings.

If the test completes successfully, you can hit Next to exit the setup wizard.