#1  
Old 4th June 2011, 00:43
Kozley Kozley is offline
Member
 
Join Date: Mar 2011
Location: Örebro, Sweden
Posts: 41
Thanks: 4
Thanked 1 Time in 1 Post
Default Help with page!

ISPConfig 3 is set up and running. When I enter to www.domain.tld and it does only "It works!" and I tired to add files to FTP /web if it correct and it still just "It works!". What do I wrong?? Im using Ubuntu 10.04.2 and ISPConfig 3.0.3.3.
Reply With Quote
Sponsored Links
  #2  
Old 4th June 2011, 03:08
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
Default

You are getting the default root page.

When you created the site in the control panel how did you type it in the domain field?

yourdomain.com or
www.yourdomain.com

It's possible although your browser is landing at the correct server there is no vhost for it.
Reply With Quote
  #3  
Old 4th June 2011, 03:23
Kozley Kozley is offline
Member
 
Join Date: Mar 2011
Location: Örebro, Sweden
Posts: 41
Thanks: 4
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Toucan View Post
You are getting the default root page.

When you created the site in the control panel how did you type it in the domain field?

yourdomain.com or
www.yourdomain.com

It's possible although your browser is landing at the correct server there is no vhost for it.
Thank you for reply.

Both www.domain.tld and domain.com don't works. It should be default page by ISPConfig's own, not apache's own.

I created the site in the control panel I did add new site and dns zone

Here can you see pics
Attached Images
  
Reply With Quote
  #4  
Old 4th June 2011, 11:25
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
Default

Not 100% sure what's going on here but I think I know, and I can at least give some advice until someone more authoritive is available to step in.

But, I think what is happening...

I have a feeling you've not set up glue records for these name servers so when you request a page using them, it just dumps you at the ip of the name server, which in this case happens also to be your web server.

You could test this out by forgetting the dns for a minute - on your client computer edit the hosts file ( do a quick google search on your OS + hosts file) and add a line:

your.ip.address yourdomain.com

reopen your browser and hopefully it will server up your site using the host file instead of dns.

If that all works, check to make sure you have made the glue records with your server domain.... ie go to your registrar control panel set a glue record up for the name server. It will be something llike set glue record ns1.yourdomain.com > your.ip...

If you search on this site for:
setup ispconfig name server using fasthosts/godaddy/schundtech
you'll find some guides.

Hope this helps for now.
Reply With Quote
  #5  
Old 4th June 2011, 14:12
Kozley Kozley is offline
Member
 
Join Date: Mar 2011
Location: Örebro, Sweden
Posts: 41
Thanks: 4
Thanked 1 Time in 1 Post
Default

Okay. I did what u say. I has added to hosts file: intern ipaddress mydomain.tld

And I don't have godaddy or other, I use swedish registry hosting Loopia and I has check there and I cannot set up glue records there but I did replace dns to loopia's own at ISPConfig control panel. Not successfully

Here can u see the pic of my registry hosting Loopia

Translate...
Subdomän= Subdomain
Typ= Type
Prio= Priority
Exportera som zonfil till BIND= Export as zone file to BIND
Attached Images
 
Reply With Quote
  #6  
Old 4th June 2011, 16:17
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
Default

If you've applied the host file to your client then DNS setting shouldn't matter at all as your client machine will be looking straight to the server for site.

I did notice that you'd put an ip address in the records when creating the site.
Don't use the ip address this occassion, put *
Don't put www in front of the domain name, just put yourdomain.com

Make sure all the jobs have completed in the monitor and then try reloading again from a client. machine. Make sure you hit the refresh key so you don't get the old cached page.

For a clean try;
Go to site and create a new website.
It can be anything.com (you don't have to have the name registered)
Take note of the points above. ip * and no www
You don't need dns
On a client machine edit the hosts record and add anything.com (has to be the one use above of course) and the ip of the server.
Then try loading anything.com in a client.
You should get the new default page index.html for anything.com

If all that doesn't work then I can help no further.. it's over to an expert here.
Reply With Quote
The Following User Says Thank You to Toucan For This Useful Post:
Kozley (4th June 2011)
  #7  
Old 4th June 2011, 16:28
Kozley Kozley is offline
Member
 
Join Date: Mar 2011
Location: Örebro, Sweden
Posts: 41
Thanks: 4
Thanked 1 Time in 1 Post
 
Default Solved

Quote:
Originally Posted by Toucan View Post
If you've applied the host file to your client then DNS setting shouldn't matter at all as your client machine will be looking straight to the server for site.

I did notice that you'd put an ip address in the records when creating the site.
Don't use the ip address this occassion, put *
Don't put www in front of the domain name, just put yourdomain.com

Make sure all the jobs have completed in the monitor and then try reloading again from a client. machine. Make sure you hit the refresh key so you don't get the old cached page.

For a clean try;
Go to site and create a new website.
It can be anything.com (you don't have to have the name registered)
Take note of the points above. ip * and no www
You don't need dns
On a client machine edit the hosts record and add anything.com (has to be the one use above of course) and the ip of the server.
Then try loading anything.com in a client.
You should get the new default page index.html for anything.com

If all that doesn't work then I can help no further.. it's over to an expert here.
Thanks you so much! It works now.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script for finding and replacement in any web page code (.htm file) vl72 Programming/Scripts 0 19th February 2011 15:12
Saving - odd browser redirection, loses page, falls back to starting page stevieb General 2 1st December 2008 10:36
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
changes in /web do not affect the page damaltor Installation/Configuration 2 16th March 2008 12:33
not seeing shared IP page andyreynolds Installation/Configuration 2 21st February 2007 23:24


All times are GMT +2. The time now is 12:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.