Current time: 06-02-2024, 12:31 PM Hello There, Guest! (LoginRegister)


Post Reply 
Preview Website without DNS pointed
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Preview Website without DNS pointed
1. Backup everything
2. Edit /etc/ispcp/apache/parts/dmn_entry.tpl, replacing the ServerAlias directive with:
Code:
ServerAlias     www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} {DMN_NAME}.users.admin.hostsrvdomain.tld
3. Regenerate all domain's configurations (there's a howto in the docs)
4. Manually add a wildcard entry such that *.users.admin.hostsrvdomain.tld resolves to your IP. To do this, you have to edit /var/cache/bind/admin.hostsrvdomain.tld.db and /etc/ispcp/bind/working/admin.hostsrvdomain.tld.db, adding one line like:
Code:
*.users       IN  A        IP.OF.YOUR.SERVER
4. Restart apache and bind

Once done, you should be able to access the domain's web through http://customerdomain.tld.users.admin.ho...omain.tld/ , just as you asked for Smile
(This post was last modified: 05-23-2009 05:12 AM by kilburn.)
05-23-2009 05:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Preview Website without DNS pointed - ctct - 05-23-2009, 01:16 AM
RE: Preview Website without DNS pointed - kilburn - 05-23-2009 05:11 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)