[SOLVED] Home web server with godaddy's dns, postfix and http
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Home web server with godaddy's dns, postfix and http
Hello all,
I have couple of questions and I don't know where to start. But I will try my best. I have web server up and running on a Linux Centos 6.0 32 bit at home. I can access it, create account, sign in, upload files and all that good stuff within the home network. I have a domain registered with godaddy. Now I want to point this server for example when people put www.thedomainathome.com, they can access it on the Internet. The router is already being configured to allow port http 80, dns 53, ftp 21 and ssl 22 for the Linux box that has the IP address 192.168.0.105. Now this server also needs to act as mail server and the reason for that is to have the capability to send mails such as when people forget passwords. It also needs to have postfix as well. I have already installed postfix, bind on the server and my problem starts where I have configure the postfix, bind and dns with godaddy. I created an A record and pointed to the IP address of my ISP and that resolved the first problem. Now when I open a browser and put www.thedomainathome.com the page loads without any problem but when I click on any other links like forgot password? or privacy, the address bar on the browser shows the IP address of my ISP and the www.thedomainathome.com is not consistent through entire page with all links. Can anyone tell me how to setup this server correctly? Please can you let me know step by step and let's assume my ISP's IP address is; 75.25.114.169 Thank you all in advanced for your time.
it appears that the links in your website point to a non-relative address location. (e.g. http://ipaddr/dir/file.ext.)
Relative links are more handy, since they work, relavite to the base location (e.g. domainname) .. e.g.: /dir/file.ext
Apache does not alter links, without using mod-rewrite (this you need to control with a custom .htaccess file).
Hello and thank you for your responses. All I want from this server at home are;
At this time, I can access the site by putting the IP address of my ISP from outside home.
1- Be accessible from the Internet. For instance when people put www.something.com at the address bar, they would be able to access the server and be consistent for all hyperlinks.
2- The server should act like mail or postfix server as well because if people forget password issue etc.
I need the preliminary configuration to start with the sever. Godaddy reps seem to not know about running home server and they are not helpful giving me information about how to play with their cPanel to configure further. Maybe they want to sell their own services and make more money and commission. I have setup Linux server with minor configuration and this configuration is beyond my scope because I have never done it before. I need some help please. Thank you all in advanced.
i don't know if you received my email or not but this will show you how to set up your server with everything that u require it takes about 30 min and you will be set
This tutorial shows how to prepare a CentOS 6.0 x86_64 server for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.
Thank you for your response. I noticed the link you sent is for CentOS 6.0 x86_64. I have Centos 6.0 32bit. Can the link be used for Centos 32bit as well?
The Perfect Server - CentOS 6.0 x86_64 [ISPConfig 3]
this is both 86 means 32bit 64 means 64bit from what i am told
i did a google search and came up with this so yes u can use it
Technically x86 simply refers to a family of processors and the instruction set they all use. It doesn't actually say anything specific about data sizes.
x86 started out as a 16-bit instruction set for 16-bit processors (the 8086 and 8088 processors), then was extended to a 32-bit instruction set for 32-bit processors (80386 and 80486), and now has been extended to a 64-bit instruction set for 64-bit processors. It used to be written as 80x86 to reflect the changing value in the middle of the chip model numbers, but somewhere along the line the 80 in the front was dropped, leaving just x86.
Blame the Pentium and it's offspring for changing the way in which processors were named and marketed, although all newer processors using Intel's x86 instruction set are still referred to as x86, i386, or i686 compatible (which means they all use extensions of the original 8086 instruction set).
x64 is really the odd man out here. The first name for the 64-bit extension to the x86 set was called x86-64. It was later named to AMD64 (because AMD were the ones to come up with the 64-bit extension originally). Intel licensed the 64-bit instruction set and named their version EM64T. Both instruction sets and the processors that use them are all still considered x86.
Source(s): http://en.wikipedia.org/wiki/IA-32 -- IA-32, Intel's 32-bit architecture. http://en.wikipedia.org/wiki/X86-64 -- Read more about x86-64 here.
While the OP may appreciate it, please do not send solutions or replies by email.
LQ is a forum and questions and answers should be posted in threads.
This allows all who follow a thread and those who find it later on to access all information in one place.
Thank you all for helping and my special thanks to kwickcut. I have done all necessary configuration with webmail, ISPConfig 3 and phpmyadmin. Webmail is running. I can access it by putting 192.168.0.105/webmail locally at the home network only for now. I can also access phpmyadmin 192.168.0.105/phpmyadmin locally at home network as well as 192.168.0.105:8080 for ISPConfig. The system has two users. One is root and one regular user called falko as instructed in this page;http://www.howtoforge.com/perfect-se...ispconfig-3-p4. falko user has a password which is falko. When I put falko as username and falko for password, I get error message ERROR
Unknown user or password incorrect. Now if I want this server to be accessible from outside world, do I have to access 192.168.0.105:8080 to ISPConfig and put all the godaddy information? Has anyone done this before? Thank you again
one
point the url directly to your ip. use the dns zone under ispconfig to configure this. ( you must have a static ip to use this )
two
use a park site like http://dnspark.com or http://freedns.afraid.org/ set up am account then point the url to them then it redirects to your ip. ( you do not have to have a static ip for this option but you can use one )
once you decide what option you like to use and the url is pointed to your server you will be able to access the site www.yoursite.com
when u use www.yoursite.com:8080 this will give them access to the ispconfig user account
Thank you for your response. How do I install the website script I have? Before I used to create a folder called for example web in the /var/www/html folder and it was like this /var/www/html/web. I also used to configure httpd.conf and would put the info like this at the end of the httpd.conf;
And I would upload the script in the the web folder and then would install the script from the browser by accessing like 192.168.0.105/install. But now it does do it. Is it because of ISPConfig 3? How can I install the web script using ISPConfig 3 at the same time? I am not familiar with the ISPConfig interface and I think that is my major problem. I still have the same problem with the webmail 192.168.0.105/webmail. The user falko with the password falko still cannot access the webmail. It says Unknown user or password incorrect. I did cat /etc/passwd and the information about falko user is;
falko:x:500:500::/home/falko:/bin/bash
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.