I recently setup a server following 'The Perfect Server - Fedora 9' instructions (excellent guide by the way). However being a complete noob at this kind of thing I am struggling with the final touches of the ISPconfig setup.
Currently I am doing a test setup at home with my own network, but if I can get it to work properly I may deploy a server in a more realistic environment further on (which is why I am trying out ISPconfig for easier management later).
Anyway, what I have done so far, and where I am currently stuck:
I followed the guide and installed the server software and then ISPconfig. I had no major issues with any of that. The issue I had were that the gdm wouldn't start after the installation but I found that there was a line added to /etc/shells (/SENDMAIL/ANY/SHELL) which prevented gdm to start. Not sure if this is a bug in the ISPconfig setup for Fedora 9 but anyway, once the line was removed everything started fine. However I accidentally encrypted the RSA keys so I had to manually type in the password at reboot. Not a major issue to me but I changed this by following this post:
Further more I also changed from https to http hosting of ISPconfig configuration page following this guide:
(because I was having some problems with logging in I thought it might help, but it didn't really affect my problem).
I also installed roundcube for webmail following the guide to install it to webmail.mydomain.com
My problem now is the following. From the actual server machine I can log into the configuration page with 192.168.123.123:81 or www.mydomain.com:81
is in the /etc/hosts file). If I try www.mydomain.com
I get the shared IP page (not sure if this is the correct behaviour but it might be, given that I haven't added any webpage at all). The problem is that if I try to login to the configuration page from anywhere else I get nothing. I get timeout or something saying that the address appears to be correct but there is no response from the server. My server is behind an adsl router modem, but the behaviour is the same if I try from any computer on the lan (other than the server and even if I add the server local IP to that machines /etc/hosts) or from the outside.
I have forwarded ports 80, 81 and even 53 (UDP/TCP) and also tried to add my server as DMZ with no luck. I have a feeling all these things are related to some DNS setup or lack thereof in ISPconfig or somewhere else. I have not actually setup anything in ISPconfig other than the defaults during installation, but I figured I should be able to access the configuration page anyway. Am I wrong?
It could be something trivial I am missing since I have never setup a proper server before. Any help would be much appreciated!
I have a domainname (mydomain.com in this example) which I point to the name servers at zoneedit.com. There I setup A records for mydomain.com, www.mydomain.com
, mail.mydomain.com and ftp.mydomain.com all poining to my routers static public IP (22.214.171.124) and an MX record mail.mydomain.com. I am not really sure how this works but since they just translate to my public IP and then get forwarded to my server through the router portforward, how does the ISPconfig know which of the domains I am actually loooking for?
hostname and hostname -f both give me - testserver.mydomain.com (testserver was used during ISPconfig setup but the server name in the server settings still says "server 1" and host name www).
When I first setup roundcube I used the pkg and I could access it locally from the server on www.mydomain.com/webmail
but then I removed it and installed it manually following the guide for webmail.mydomain.com. If I try webmail.mydomain.com locally I get an error message (error 500 I think it was but I am not by my server computer at the moment) which may just be some unrelated issue which is not my primary concern right now, but I am letting you know in case it is related.
Sorry about the long rant but I hope someone can point me to my problem(s).