nobaloney
NoBaloney Internet Svcs - In Memoriam †
Implementing Server Aliases
Implmenting Server Aliases Mini How-To
Jeff Lasman, [email protected] 09/22/04 08:13
Often we have to make a site available to a client before his/her DNS has propagated; sometimes even before it's changed to point to the new server.
Some of us have had problems using the standard method built in to DA, which requires a URL something such as this:
http://www.example.com/~username
Often this won't work because of issues with php, perl, etc.
Here's how to set up a url such as:
http://username.example.com
with your user's name as username, and a domain under your control as example.com.
First log in to your control panel as admin.
Then click on "Custom HTTPD Configurations".
Then click on the domain name for which you wish to create a Server Alias.
In the customization window (the top window), type (as a new line):
ServerAlias username.example.com
again, where username is same as your user's name, and your domain name as example.com.
Then click on "Save".
Now, still logged in to the DA control panel as admin, navigate to the "DNS Administration" screen, and then to the domain name you've substituted for "example.com".
Note: This is NOT the same as the domain name you used when you set up the ServerAlias, but rather the working domain name under your control you used when you set up the Server Alias.
Add an CNAME record for username.example.com pointing to example.com.
Once it's added you can log out of the control panel.
You should be able to use the ServerAlias immediately.
If you can't, these are the steps to check:
1) make sure you've followed the steps correctly.
2) verify if you've tried username.example.com before you set it up. If you have, you may have to restart your browser, or even your system or local network, or you might have to wait until your ISP clears it's cache.
Please report any difficulties in following this How-To, so we may correct any errors.
Thanks!
Implmenting Server Aliases Mini How-To
Jeff Lasman, [email protected] 09/22/04 08:13
Often we have to make a site available to a client before his/her DNS has propagated; sometimes even before it's changed to point to the new server.
Some of us have had problems using the standard method built in to DA, which requires a URL something such as this:
http://www.example.com/~username
Often this won't work because of issues with php, perl, etc.
Here's how to set up a url such as:
http://username.example.com
with your user's name as username, and a domain under your control as example.com.
First log in to your control panel as admin.
Then click on "Custom HTTPD Configurations".
Then click on the domain name for which you wish to create a Server Alias.
In the customization window (the top window), type (as a new line):
ServerAlias username.example.com
again, where username is same as your user's name, and your domain name as example.com.
Then click on "Save".
Now, still logged in to the DA control panel as admin, navigate to the "DNS Administration" screen, and then to the domain name you've substituted for "example.com".
Note: This is NOT the same as the domain name you used when you set up the ServerAlias, but rather the working domain name under your control you used when you set up the Server Alias.
Add an CNAME record for username.example.com pointing to example.com.
Once it's added you can log out of the control panel.
You should be able to use the ServerAlias immediately.
If you can't, these are the steps to check:
1) make sure you've followed the steps correctly.
2) verify if you've tried username.example.com before you set it up. If you have, you may have to restart your browser, or even your system or local network, or you might have to wait until your ISP clears it's cache.
Please report any difficulties in following this How-To, so we may correct any errors.
Thanks!