HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   How to access ispconfig 3 control panel by domain name (http://www.howtoforge.com/forums/showthread.php?t=52367)

911 19th April 2011 12:57

How to access ispconfig 3 control panel by domain name
 
Hi, I'm trying to figure out if and how I can access the ispconfig cp by my domain name. Say its server1.domain.com, well that would just resolve to the ip of domain.com at port 80 correct? Is there anyway to do this since ispconfig runs on port 8080? Thanks.

i-chat 19th April 2011 13:23

Quote:

Originally Posted by 911 (Post 255641)
Hi, I'm trying to figure out if and how I can access the ispconfig cp by my domain name. Say its server1.domain.com, well that would just resolve to the ip of domain.com at port 80 correct? Is there anyway to do this since ispconfig runs on port 8080? Thanks.

- the question would be - what are you trying to do exactly...

say you have,

myhost.com as your webhsting domain,

and all your servers are availible on server1.myhost.com server2.myhost.com etc etc etc.

than you dsn will (should) resolve to the ip of your webservers.
so if you want you want your controll pannel to be acessed by the servers dnsname example: http //server1.myhost.com than you would have to run a namebased vhost on port 80 with your server name and ispconfig as its /wwwroot.

you could also create a forward rule to poort 8080 with mod_rewrite (but i would consider that unsafe).

but you could also use a http 301 (redirect). - or you could explain your customers to always connect to 8080 themselves.

911 19th April 2011 13:46

Exactly, trying to have clients able to access the control panel by domain name. So a 301 redirect would accomplish this. Not sure how to go about this. So I'd create the sub-domain server1 for server1.domain.com. Then 301 redirect server1 to ispconfig root? Anyone know where this is, I found an article that said /home/admispconfig. Not there though. Thanks again.

911 19th April 2011 15:50

Ok, seems that the method, create dns for server1 to host ip, then redirect to /var/www/ispconfig/ is not allowed because of 403 forbidden. Any way around this, or perhaps change server1 document root perhaps?

falko 20th April 2011 13:50

You could set up a reverse proxy with Apache (this link is for ISPConfig 2, but should give you the idea: http://www.howtoforge.com/apache_rev...roxy_ispconfig ), or you use mod_rewrite to redirect requests to port 8080.

911 21st April 2011 13:30

Right on. Thanks falko.


All times are GMT +2. The time now is 16:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.