Configuring a domain name?

 
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions
View previous topic :: View next topic  
Author Message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Sat Dec 02, 2006 3:20 am    Post subject: Configuring a domain name? Reply with quote

Ok i just got my domain for marty (thanks again) and i have successfully configured it to work with http://www.directwebmasters.com using my servers IP address BUT when i type http://directwebmasters.com i get "Server not found!" I HAVE CONFIGURED THE TWO EXACTLY THE SAME! Any ideas why this isnt working? (PS i am using zoneedit, i have put the name servers for zone edit on the domain, and www.directwebmasters.com is working but directwebmasters.com without www. is not)


EDIT:

I dont get it, i just got the http headers and got this:

Code:

HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 4224
Last-Modified: Sat, 25 Nov 2006 03:49:16 GMT
Cache-Control: no-cache
Connection: Close
Date: Sat, 02 Dec 2006 02:28:49 GMT
Server: Abyss/2.3.2-X1-Win32 AbyssLib/2.3.2


thats for http://directwebmasters.com, but i still cant access it (server not found) :/

Heres what i get from FireFox:

Code:

Unable to connect


Firefox can't establish a connection to the server at directwebmasters.com.


    *   The site could be temporarily unavailable or too busy. Try again in a few
          moments.

    *   If you are unable to load any pages, check your computer's network
          connection.

    *   If your computer or network is protected by a firewall or proxy, make sure
          that Firefox is permitted to access the Web.

_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
Ralph
-


Joined: 17 Sep 2006
Posts: 87

PostPosted: Sat Dec 02, 2006 3:59 am    Post subject: Reply with quote

Hello hc2995,

I have been working on setting up my second domain as well.

Not, real sure how your server is set up, if you have X1 or X2? But, what I had to do to fix what your taking about, is set up a host file for both names on my virtual host file.

I used the TRUSTAbyss Virtual Host Creator to do my set up.

Below is an example of what I had to do in the main index.php virtual host file in htdocs on my server...for both names to work!


Quote:

//get domain entered in browser
if ($_SERVER['HTTP_HOST'] == "www.badtm.com") {

//forward to appropriate page
header("Location: /Folder_Name");
exit;

}
//get domain entered in browser
if ($_SERVER['HTTP_HOST'] == "badtm.com") {

//forward to appropriate page
header("Location: /Folder_Name");
exit;


I put all files with the second site in its own folder and the name of the folder would go where I have Folder_Name in the host listings.
_________________
My Abyss Websites!
www.qualitynetdesign.com
Back to top View user's profile Send private message Visit poster's website
Marty
-


Joined: 10 Sep 2006
Posts: 83

PostPosted: Sat Dec 02, 2006 10:31 am    Post subject: Re: Configuring a domain name? Reply with quote

hc2995 wrote:
Ok i just got my domain for marty (thanks again) and i have successfully configured it to work with http://www.directwebmasters.com using my servers IP address BUT when i type http://directwebmasters.com i get "Server not found!" I HAVE CONFIGURED THE TWO EXACTLY THE SAME! Any ideas why this isnt working? (PS i am using zoneedit, i have put the name servers for zone edit on the domain, and www.directwebmasters.com is working but directwebmasters.com without www. is not)


EDIT:

I dont get it, i just got the http headers and got this:

Code:

HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 4224
Last-Modified: Sat, 25 Nov 2006 03:49:16 GMT
Cache-Control: no-cache
Connection: Close
Date: Sat, 02 Dec 2006 02:28:49 GMT
Server: Abyss/2.3.2-X1-Win32 AbyssLib/2.3.2


thats for http://directwebmasters.com, but i still cant access it (server not found) :/

Heres what i get from FireFox:

Code:

Unable to connect


Firefox can't establish a connection to the server at directwebmasters.com.


    *   The site could be temporarily unavailable or too busy. Try again in a few
          moments.

    *   If you are unable to load any pages, check your computer's network
          connection.

    *   If your computer or network is protected by a firewall or proxy, make sure
          that Firefox is permitted to access the Web.

Currently your DNS is set to ns7 & 14.zoneedit.com is that correct or what DNS was given when you added the domain name to zoneedit.com

ns??.zoneedit.com
ns??.zoneedit.com
Back to top View user's profile Send private message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Sat Dec 02, 2006 6:20 pm    Post subject: Reply with quote

Thats was the nameservers given to me by zone edit

Nameservers:
ns7.zoneedit.com 216.122.7.155
ns14.zoneedit.com 209.126.137.108
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group