Current time: 05-19-2024, 06:42 PM Hello There, Guest! (LoginRegister)


Post Reply 
Preview Website without DNS pointed
Author Message
patrick.geschke Offline
Junior Member
*

Posts: 13
Joined: Nov 2009
Reputation: 0
Post: #7
RE: Preview Website without DNS pointed
Quote: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

Ive done just as said, except from the DNS Part cause that is configured with an external DNS Server.
Still when i try to access any user-domain.tld.my-preview-domain.tld i only get to the ISPCP Main login.
(my-preview-domain.tld in this case also is my ispcp Login Domain)
Why wont apache lead the request to the right Directory?
11-11-2009 10:13 AM
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 - patrick.geschke - 11-11-2009 10:13 AM

Forum Jump:


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