LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2011, 04:24 PM   #1
rewards
Member
 
Registered: Dec 2010
Posts: 135

Rep: Reputation: 0
Question 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.

Last edited by rewards; 11-05-2011 at 04:59 PM.
 
Old 11-06-2011, 07:51 AM   #2
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
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).
 
Old 11-06-2011, 03:32 PM   #3
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
just sent u an email
 
1 members found this post helpful.
Old 11-06-2011, 08:50 PM   #4
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
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.

Last edited by rewards; 11-06-2011 at 11:40 PM.
 
Old 11-07-2011, 07:07 AM   #5
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
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.




http://www.howtoforge.com/perfect-se...64-ispconfig-3

just follow this and you will be fine


kwick
 
1 members found this post helpful.
Old 11-07-2011, 06:03 PM   #6
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hi,

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?
 
Old 11-07-2011, 07:57 PM   #7
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
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.

Last edited by kwickcut; 11-07-2011 at 08:00 PM.
 
1 members found this post helpful.
Old 11-07-2011, 11:49 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by kwickcut View Post
just sent u an email
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.

TIA
 
1 members found this post helpful.
Old 11-10-2011, 04:33 PM   #9
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
just checking in to see how you have made out



kwick
 
Old 11-11-2011, 07:14 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
0 out of 1 members found this post helpful.
You shouldn't take the fact you don't understand what LQ is about out on others.
 
0 members found this post helpful.
Old 11-18-2011, 11:11 PM   #11
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hello all,

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

Last edited by rewards; 11-20-2011 at 05:58 PM.
 
Old 11-21-2011, 07:13 PM   #12
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
you have 2 options

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

when you use www.yourserver.com:8080 it gives you administrator access to ispconfig

then to access the mail would be www.yoursite.com/webmail

as for the user
Code:
cat /etc/password
shows you all existing users
 
2 members found this post helpful.
Old 11-23-2011, 03:56 PM   #13
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hi all and Kwickcut,

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;

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /var/www/html/web
ServerName www.example.com
</VirtualHost>

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

Thank you again.

Last edited by rewards; 11-29-2011 at 02:02 AM.
 
Old 02-10-2012, 02:21 PM   #14
kwickcut
Member
 
Registered: Nov 2004
Posts: 136

Rep: Reputation: 20
i have been away not by choice but work related. did you get your server on the net do you still require help let me know



kwick
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GoDaddy Virtual Server DNS Frequently Goes Bye-Bye Swys Linux - Newbie 5 12-20-2009 10:49 PM
Postfix setup help - smoothwall fedora postfix godaddy crecker Linux - Newbie 2 01-10-2009 12:06 AM
Get Postfix to relay on 3535 to GoDaddy?? slozzy Linux - Newbie 3 03-18-2008 11:29 PM
GoDaddy DNS settings of MX Libertes Linux - Server 1 02-21-2008 09:18 AM
Godaddy webmail & my postfix server hank43 Linux - General 3 10-10-2006 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration