Posts Tagged ‘configure’

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 to configure WordPress to work with a new domain?

In case you wish to use your WordPress application with another domain, you should change the siteurl and home options in your WordPress database. You can do this using the phpMyAdmin tool available in your Direct Admin

Once in phpMyAdmin, select your WordPress database and browse the table wp_options. Find the optionssiteurl and home and change their values to the new domain you wish to use.

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 can I configure/install my WordPress template/theme?

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 to configure Joomla to open by more than one domain?

Did you followed the advices of SEO gurus, and now you have a bunch of domain names, like mydomain.com and mydomain.org, mydomain.info and mybestdomain.net, and you want to use all of them to display your sole , well buit joomla site, but dunno how? Here’s the trick you need!

Point all those domain names to your account! Doing that may need a help from your hosting company, or you may be able to do it yourself. Most hosting packages have the “Addon Domains” or “Parked Domains” menu item/applet on your hosting account to do that – find them and use them, or ask help form your hoster and/or from some experts.

Then grab your favourite tool and let’s hack the configuration.php file! Oh, yea, make a backup first, just in case!

If you have Joomla 1.0.* find the following line :

            $mosConfig_live_site = 'http://www.mydomain.info';

And replace it with this one:

           $mosConfig_live_site = 'http://'.$_SERVER['HTTP_HOST'];

In case your Joomla is in a subdirectory you have to specify the name of the subdirectory:

           $mosConfig_live_site = 'http://'.$_SERVER['HTTP_HOST'].'/directoryname';

Note to substitute directoryname with the the directory name in which Joomla resides.

That’s it, enjoy the solution.

PS. And what you need to do if you have Joomla 1.5.*? Nothing. That one is clever enough to handle all domains pointed to your account