Posts Tagged ‘url’

How to configure my MediaWiki to be accessible via the server URL?

In order to access your MediaWiki via the server URL (http://servername/~user) instead your domain, you should edit your LocalSettings.php file. It is located in the root directory of your MediaWiki. You can edit the file from:

DirectAdmin -> File Manager

Replacethe following line:

$wgScriptPath= “/wiki”

with this one:

$wgScriptPath= “/~username/wiki”

Then you can use the following link to access your MediaWiki:

http://servername.com/~username/wiki/

How can I install/configure my WordPress to be able to access it via the server URL.

You can access your WordPress installation via the server IP with without making any changes. You just type the URL below and change it to suit for your account:

http://serveraddress/~username/path_to_WordPress_installation/

However, in order your links to access the content via the server’s URL you should make the following changes:

You should change the ‘siteurl’ option in your WordPress database. Here is the path to do this change:

Go to Direct Admin –> ‘phpMyAdmin’ in the Databases box. Then from the left bar select the database for your WordPress installation

Browse the table ‘wp_options’ –> Find the options ‘siteurl’ and ‘home’. Change their values to the desired URL.


How to configure Drupal to use the server URL instead of my domain name?

If you cannot log into your Drupal application using your server domain, you should change the following line in the sites/default/settings.php file:

$cookie_domain = ‘yourdomain.com’;

to

$cookie_domain = $_SERVER['HTTP_HOST'];

This way Drupal will send the proper cookie information, matching the domain name you have used to access it.

How do I access webmail?

  • Login To Direct Admin via http://YOURDOMAIN:2222/
  • Click Webmail

What is my POP3 Server?

mail.YOURDOMAIN

Example::
mail.host1free.com would be the POP3 Server for the Host1Free website