Posts Tagged ‘domain’

How to create another domain?

You can create another domain in DirectAdmin in a few easy steps. Firstly, once you are logged in to DirectAdmin, go to Domain Setup. There you will get a list of domains that you already have in your account. If you still don’t have any domain created, click Add Another Domain. Now you will need to type in domain name and adjust such options as bandwidth, disk space, secure SSL, CGI access, PHP access. Once you are done with that, click Create button and new domain will be created.

How to add domain pointers in DirectAdmin?

1. Login to DirectAdmin server control panel.
2. Locate Domain Pointers link in the bottom of the DirectAdmin control panel.
3. Enter the source domain and click Add.
4. The domain pointer has been successfully created!

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 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

How long will it take before my domain starts resolving?

Usually it will take from 24 to 72 hours. It’s possible that domain name even could be resolved within 12 Hours. Remember domain transfer and domain DNS change are the different ways of managing your domain name.