Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th May 2013, 22:36
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 107
Thanks: 29
Thanked 6 Times in 6 Posts
Lightbulb Linking ispconfig3 port to example.com/admin/

hi all!

I sucessfully followed the guide to installing debian, isp3 dovecot and squirrel ect with a couple of tweeks to get it to actually work.

I was wondering is it possible to do something like the guide does for webmail so it can be accessed at mail.domain.com or domain.com/webmail but for ispconfig port?

something along the lines of admin.domain.com or domain.com/admin/ instead of domain.com:8080 but have it work for all hosted domains *.com/admin

Thanks in advance. I will say im not a total noob at *nix but im getting better so please be nice to me
Reply With Quote
Sponsored Links
  #2  
Old 28th May 2013, 17:59
agord agord is offline
Junior Member
 
Join Date: Oct 2012
Location: Argentina
Posts: 25
Thanks: 2
Thanked 2 Times in 2 Posts
Default

I would use subdomains are friendly..

ex.: admin.domain.com

1 -> go to dns
2 -> your zone
3 -> DNS records
4 -> add new A
4 ->
host: admin
IP: your server IP
SAVE
5 -> go to Sites
6 -> Add subdomain (i imagine that you have a domain already)
7 ->
host: admin
domain.com
Redirection: L
Route: https://www.domain.com:8080
SAVE

8 -> TEST

Regards!
aycral.com
Reply With Quote
The Following User Says Thank You to agord For This Useful Post:
ginner159 (29th May 2013)
  #3  
Old 28th May 2013, 19:20
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 107
Thanks: 29
Thanked 6 Times in 6 Posts
Default

Thanks for your reply! Ill try it later when I'm home.

Just a quick thought. Did u mean to put an 'A' record? Would CName work too?
I have the DNS on cloudflare (not brave enough yet to roll my own lol)
Reply With Quote
  #4  
Old 28th May 2013, 19:32
agord agord is offline
Junior Member
 
Join Date: Oct 2012
Location: Argentina
Posts: 25
Thanks: 2
Thanked 2 Times in 2 Posts
Default

From my point of view i would use A record because DNS lookup directly returns IP Address to the client.

A points from domain to ip and CNAME points from name to name...

Ex.:
your.domain.com. IN A 190.90.1.5
yoursub.domain.com. IN CNAME server2.srv.com

Regards
aycral.com
Reply With Quote
The Following User Says Thank You to agord For This Useful Post:
ginner159 (29th May 2013)
  #5  
Old 1st June 2013, 20:14
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 107
Thanks: 29
Thanked 6 Times in 6 Posts
Default It works but ...

Thanks for that it works great!

Only one little thing tho. would it be possible to make it so that when they go to admin.domain.com it dosent show my hosting domain in the url bar.

i.e at the moment it does this:

admin.domain.com ---> admin.myhost.com:8080

can it do this:
admin.domain.com --> admin.domain.com:8080

thanks again
matt
Reply With Quote
  #6  
Old 2nd June 2013, 17:22
agord agord is offline
Junior Member
 
Join Date: Oct 2012
Location: Argentina
Posts: 25
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default

(we are talking about APACHE) At first sight you will find some tutorials that use "rewrite" URL... but its not the solution.
In this case you will be proxying I suggest you to read more about using "mod_proxy"

i give you an example from the official doc:

########################################

Code:
RewriteRule ^/(.*) http://other.example.com/$1 [P]

# is better expressed as..
ProxyPass / http://other.example.com/
#########################################

Official wiki: http://wiki.apache.org/httpd/WhenNotToUseRewrite

Im with less time this week may be the next one i create a little tutorial as reply

Regards!
aycral.com
Reply With Quote
Reply

Bookmarks

Tags
aliases, ispconfig3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 How to have multiple manually created port based SSL client sites hosts zapyahoo Installation/Configuration 10 20th January 2013 16:01
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 02:29
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 13:15
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 22:41.


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