| 1. |
Solve : How to point my reg domain to server at static IP? |
|
Answer» In new territory here and was wondering if someone could help. In the past I have had other providers host my web sites, but they usually were expensive and nice looking or free with lots of advertisements etc . But ever since learning Linux and how easy Apache is to set up as a web server. I decided to can the outsourced hosting and host it myself through my broadband service. I was actually thinking of putting together a mail server, but thought that maybe its best to leave it to a free source like Yahoo mail or my ISP's Mail Service vs putting together another serverAbsolutely; there is a big difference between running a hobby server behind a dial up connection (broadband is technically dialup, non-permanent) and running high availability services over a permanent connection (leased line etc). Email services are so cheap now (my company charges £99 per year for basic email hosting, although "basic" in this context is quite advanced) that you're better off using an ISP for email, unless you have your own leased line, or a very reliable SDSL circuit. Quote the mail and web server services can probably co-exist on the ame srver as long as I dont have a ton of traffic...Well the problem is Dave that your DSL connection won't cope with a ton of traffic - not upstream, anyway. Quote I have been tempted though to learn how to put together an mail exchange server in Linux.You'll probably still need to do this anyway. If your web site(s) are going to send any outgoing mail, it's generally easier for them to hand it off to a locally running email server, that then forwards on to a "smarthost". Quote A co-worker who took the Linux course with me over the summer set up I think it was called a Squirrel Mail exchange server, and used either Ubunto or Fedora as the Linux Disto for it. Do you have any suggestions on if Squirrel Mail is the way to go, or if there is a better one for the Linux platform?SquirrelMail is in fact a web-based mail client (a very good one, as it happens, suitable for workgroups) not a server. I have deployed all the major open source Linux mail servers ina production environment (Sendmail, POSTFIX, Qmail, Exim) and the one I found easiest to configure was Exim. It's available as a package with most mainstream Linux/BSD-like distros and would be my local mail server of choice. It can handle very heavy loads, if necessary. Quote Without adding ports to the DNS Forwarding it wouldn't work.That's probably because you would need to configure Apache's virtual hosts. Quote I did however see what you were talking about where the URL changes to the forwarded information of instead of www.mydomainname.com to http://216.107.215.99:8080/index.htm. To get rid of this I believe I can pay an extra fee to Mask it as www.mydomainname.com . Is masking the only option to hide the actual URL info at myipaddress:port/index.htm ? :-?I couldn't say for sure - I'd have to see exactly how GoDaddy does it. But surely they can just point (not forward) the domains at a static IP address? If you can configure virtual hosts (not difficult, and I can help) it is the best solution for you. Below >> from last post carried over... >>( From Me ) I did however see what you were talking about where the URL changes to the forwarded information of instead of www.mydomainname.com to http://216.107.215.99:8080/index.htm. To get rid of this I believe I can pay an extra fee to Mask it as www.mydomainname.com . Is masking the only option to hide the actual URL info at myipaddress:port/index.htm ? >>( From Rob ) I couldn't say for sure - I'd have to see exactly how GoDaddy does it. But surely they can just point (not forward) the domains at a static IP address? If you can configure virtual hosts (not difficult, and I can help) it is the best solution for you. Hello Rob, Thanks for the info.... here is the snippet from my httpd.conf file. I am guessing that I remove the #comment tag and it looks like everything might work. Also, do you know why SSL is not enabled by default for Apache2? I will definately want to enable it now that I see the option for it ... --------------Httpd.conf (snippet)---------------------------------- # Supplemental configuration # # The configuration files in the conf/extra/ directory can be # included to add extra features or to modify the default configuration of # the server, or you may simply copy their contents here and change as # necessary. # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf # Multi-language error messages #Include conf/extra/httpd-multilang-errordoc.conf # Fancy directory listings #Include conf/extra/httpd-autoindex.conf # Language settings #Include conf/extra/httpd-languages.conf # User home directories #Include conf/extra/httpd-userdir.conf # Real-time info on requests and configuration #Include conf/extra/httpd-info.conf # Virtual hosts #Include conf/extra/httpd-vhosts.conf # Local access to the Apache HTTP Server Manual #Include conf/extra/httpd-manual.conf # Distributed authoring and versioning (WebDAV) #Include conf/extra/httpd-dav.conf # Various default settings #Include conf/extra/httpd-default.conf # Secure (SSL/TLS) connections #Include conf/extra/httpd-ssl.conf # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # SSLRandomSeed startup builtin SSLRandomSeed connect builtin ---------------- httpd-vhosts.conf (snippet) ----------------------- # # Virtual Hosts # # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost CONTAINERS for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a SERVERNAME or ServerAlias in any block. # ServerAdmin [email protected] DocumentRoot /www/docs/dummy-host.coinsncoins.com ServerName dummy-host.coinsncoins.com ServerAlias www.dummy-host.coinsncoins.com ErrorLog logs/dummy-host.coinsncoins.com-error_log CustomLog logs/dummy-host.coinsncoins.com-access_log common ServerAdmin [email protected] DocumentRoot /www/docs/dummy-host2.coinsncoins.com ServerName dummy-host2.coinsncoins.com ErrorLog logs/dummy-host2.coinsncoins.com-error_log CustomLog logs/dummy-host2.coinsncoins.com-access_log common ---------------------------------------------------- *** It looks as though maybe all I need to do is take away the # comment tag to make this work, after looking into the httpd-vhosts.conf file and seeing that it looks to already be setup to run the virtual hosts |
|