Linux Hosting

Hi All

I have a fix IP( i.e 196.2.2.2) address from my ISP and they hosting my domain for me www.mydomain.co.za. And my Server(196.2.2.2) is connected on the Internet.

I can browse to my test page using my host IP provided above (i.e 196.2.2.2). I can also do a “nslookup”,  “dig” and “ping” command and get results on my domain.

I need to access my website using www.mydomain.co.za not using the IP address of my Server.
How do I configure my Sever to do that ?

I am running Linux

chz
LVL 2
ThlwareAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
> I can also do a “nslookup”,
this means that you can for example
  ping www.mydomain.co.za

> How do I configure my Sever to do that ?
 then you simply have to setup your server for that domain  www.mydomain.co.za
(and best for your IP 196.2.2.2 also)
0
ThlwareAuthor Commented:
>then you simply have to setup your server for that domain  www.mydomain.co.za
>(and best for your IP 196.2.2.2 also)

OK i do not understand this comments....

I tried to change the ServerName Variable or Field on the httpd.conf to "www.mydomain.co.za" and still i can not access my site using "
"www.mydomain.co.za" i.e i can type in my_ipaddress/test.php i will get my test page on the internet.. but when i try to www.mydomain.co.za/test.php i do not get anything
this is the error message am getting on IE(We can't find "www.titzs.co.za") and on mozilla this what i get (
www.parkkeddomains.co.za could not be found.Please check the name and try again.)

chz
0
ahoffmannCommented:
> .. still i can not access my site using ..
did you ISP make a proper DNS entry?
does
  nslookup www.mydomain.co.za
return the correct IP?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

ThlwareAuthor Commented:
Ok
My dedicated Sever's IP(in this example 196.2.2.2) is different from the nslookup command of my registered domain
www.mydomain.co.za..

Does nslookup of www.mydomain.co.za ip address be the same as dedicate sever's IP address ?

chz  
0
ahoffmannCommented:
> Does nslookup of www.mydomain.co.za ip address be the same as dedicate sever's IP address ?
it must be
0
paullamhkgCommented:
You did register your mydomain.com.za in the domain name center of your country, in that domain name center did you put the correct dns ip ?? or did your hosting company do put the correct ip into the ns record??

"this is the error message am getting on IE(We can't find "www.titzs.co.za") and on mozilla this what i get (
www.parkkeddomains.co.za could not be found.Please check the name and try again.)"

in you broswer or your computer when it try to resolve you server name it show difference domain, that's mean the dns of your computer resolve difference IPs that may be used by others before and the NS record still not update, or the NS record in your hosting company may be incorrect.
0
psimationCommented:
Thlware

Do a WHOIS lookup at http://co.za for your domain:

It seems that the people who registered your domain with uniforum  (Webonline.biz) only registered the domain for you, but have not pointed their Nameservers to the actual webserver hosting your files yet.

Accoring to the WHOIS info, the Primary and Secondary DNS servers for your domain are as follows:

6a. primnsfqdn             : dns11.webonline.biz
6b. primnsip               : 67.15.119.34
6e. secns1fqdn             : dns2.webonline.biz
6f. secns1ip               : 216.127.84.49

This means that dns11.webonline.biz needs to have an entry in the zone file for your domain that points www to your server IP (as per your example: 196.2.2.2)

Also, if your server will only host this one website, then you only need to ensure that in /etc/httpd/conf/httpd.conf your ServerName is set to your server's IP or FQDN.

If, however, you plan to host more than one domain, then you need to use VirtualHosts in the httpd.conf file, and each of your virtual domains need to have it's own section. Apache will make sure that the end-user will get to the correct page if your VirtualHosts directives are configured correctly.
0
ThlwareAuthor Commented:
Ok this looks good

I also need to host multiple domains..
And am not sure how am i going to host their email as i will be running one mail server  
Any sugesstion on how to setup this email sever to host multiple domain ?

And am looking at running sendmail any advice will be appreciated..

chz
0
psimationCommented:
maybe take things one step and one question at a time. Setting up e-mail for multiple domains is a 500 point question all on it's own.

I can start you off on some tips so long; if you run CentOs/RHEL/WBEL or some other RH clone, then using the packaged sendmail and cyrus imap rpm's should be fairly easy with some reading and it will give you a very fast and scalable system.
0
ThlwareAuthor Commented:
:)lol
Ok
psimation i will give you then points then..

Thanx for your input
0
ThlwareAuthor Commented:
am running CentOs
0
ThlwareAuthor Commented:
Sorry i wanted to give this points to psimation please admin modify..
0
psimationCommented:
Thlware

I don't think I deserve the points for this question; the solutions were already in both ahoffmann and paullamhkg's comments, I simply "translated" it into a more "local" flavour since I work with co.za domains alot and knew where to do WHOIS lookups etc.

Maybe a points split would be more fair towards the others.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ThlwareAuthor Commented:
Hi
I accept the split ..

chz
0
VenabiliCommented:
Then why don't you help us a little and do it?

Venabili
0
ThlwareAuthor Commented:
Goodmorning to you too Venabili

An equal split will do fine ...

0
VenabiliCommented:
The "Split Points" link is under the last post. Press it and follow the instructions for the split :)
500/3 will be 167, 167, 166
Make sure you select one of the Answers as answer( the rest will be assists) and select a grade. And you are done :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.