Current time: 11-25-2024, 01:20 PM Hello There, Guest! (LoginRegister)


Post Reply 
Service address?
Author Message
bulforce Offline
Junior Member
*

Posts: 63
Joined: Oct 2007
Reputation: 0
Post: #1
Service address?
Hi,
sorry if i duplicate a post or asking something that is already answered...

Is there a way that the added domain can be accessed before the dns is pointed to the server? ex. http://someserver.com/newdomain.com


Thank you
01-08-2008 03:59 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Service address?
It exist a Thread in the German Corner --> http://www.isp-control.net/forum/neuem-k...-2014.html

Maybe you should translate it with google or something.

Greez BeNe
01-08-2008 05:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bulforce Offline
Junior Member
*

Posts: 63
Joined: Oct 2007
Reputation: 0
Post: #3
RE: Service address?
i translated it with google but couldn't understand almost anything..
is there somebody that can write a how to in english


thank you
01-09-2008 09:08 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Service address?
hei hei
thre are some code snipplets you need to modify the tpl files ...
computer-german is not that difficult...

take
Code:
/etc/ispcp/apache/parts/dmn_entry.tpl

search
Code:
ServerAlias     www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME}

change to
Code:
ServerAlias     www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} {SUEXEC_USER}.hostdomain.tld

and you new host will also be avalilable via e.g. vu2005.hostdomain.tld

of course: set your domain name instead of hostdomain.tld, maybe you need to change the apache Serveralias for hostdomain.tld, and thirs: the dns also needs a catchall for hostname.tld...

/J
01-09-2008 09:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bulforce Offline
Junior Member
*

Posts: 63
Joined: Oct 2007
Reputation: 0
Post: #5
RE: Service address?
my dns did not have catch all... so i try to make the change this way

ServerAlias www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} hostdomain.tld/{DMN_NAME}

After creating a new domain i check ispcp.conf in /etc/apache....

and it contain alias myserveraddress.com/demo.com

but trying to access this address is giving me 404 error

Any ideas
01-11-2008 08:49 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Service address?
this does not work.
you only can put hostnames/domainnames there - no paths...

/J
01-11-2008 08:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bulforce Offline
Junior Member
*

Posts: 63
Joined: Oct 2007
Reputation: 0
Post: #7
RE: Service address?
{DMN_NAME} is a domain... not a path but anyway i got your point

So is there anyway that i can make service address possible ?

I think we have to create separed file like the awstats one 01_awstats
maybe 02_servicedmn and create the service addresses rules there

Or maybe in the 00_master.conf

please lets make it Wink
(This post was last modified: 01-11-2008 09:14 AM by bulforce.)
01-11-2008 09:12 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Service address?
hostdomain.tld/{DMN_NAME} is a path:

http://domain.com/otherdomain.com

so, dive into your dns and configure so that all *.domain.tld ends on your server:

* 1D IN A my.server.ip.number

/Joximu
01-11-2008 09:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bulforce Offline
Junior Member
*

Posts: 63
Joined: Oct 2007
Reputation: 0
Post: #9
RE: Service address?
joximu i understood what you mean but my current dns is external and do not support catch all records.

However i remember that before when i had ensim on another server... after i add a domain name it was instantly avalable thru service address like serverdomain.com/~newdomain.com or something like this.

I cannot believe that this is not possible with ispcp ;(
01-11-2008 02:08 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: Service address?
I never had good feelings with this service address:
install a Typo3 - you'll always have some strange side effects if you work with
server/~user/typo3/

And. Very important!
this worked with mod_php - but now almost every virtualhost is running php as a different user -the same user as the ftp user for this customer.
So, doing a "maindomain.tld/~user" runs under the maindomain user - and the maindomain php cannot see/execute the php in userdomain.tld

So, the only practicable thing are ServerAliases as described above.

/Joximu
01-11-2008 06:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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