Update to home page not working??

Discussion in 'General' started by ginner159, Jul 17, 2013.

  1. ginner159

    ginner159 New Member HowtoForge Supporter

    Hi all.

    Ive got my server up and running now with a backup server setup in case of the unexpected :D but for some reason i cannot change the default website home page. my clients can change there own, but i can't. i'm stuck with my slightly modified custom holding page that is created when a new site is made (just adds a logo)

    I just want to make my hosting service site so i can have small tutorials on how to login and add new clients ect

    I did add it to a client (made one to hold a couple of sites not to billed ie my own) would that make a difference? i've uploaded my own html index file but even clearing my cache hasn't done anything kinda stumped because before i reinstalled after testing purposes i could??

    thanks guys and gals! ;)
     
    Last edited: Jul 17, 2013
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Is the domain of the site the same then the server hostanme?
     
  3. ginner159

    ginner159 New Member HowtoForge Supporter

    yes it is. thought i changed it. my host has been having hardware trouble lately and just moved everyone to a new server so maybe something has got screwed there.

    Do you think deleting the site and then creating again might work?
     
  4. ginner159

    ginner159 New Member HowtoForge Supporter

    Sorry but I'm not quite sure that made sense. I'm the owner of the server but just getting annoyed that I can't make my own homepage for my company but clients can
     
  5. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The problem is the hostname here and not the site. the hostname of a server shhould be a subdomain like server1.yourdomain.tld. Pleasechenge the hostname in /etc/hosts, /etc/hostname, /etc/mailname and /etc/postfix/main.cf and reboot the server. Your website should start working then.

    Regarding the above post of the other guy, its most likely spam, he posted in several threads ansers that make no sense.
     
  6. bch

    bch New Member

    I had the problem that I could not access a created site called "server1.example.com" - the servers FQDN.

    The solution I found was to add

    Code:
    ServerName localhost
    inside the VirtualHost in

    Code:
    /etc/apache2/sites-enabled/000-default
    That did it. Hope it helps anyone.
     
  7. ginner159

    ginner159 New Member HowtoForge Supporter

    I just changed that to what you said but its not loading the index page ive uploaded. ive cleared my cache so i know its not that
     
  8. ginner159

    ginner159 New Member HowtoForge Supporter

    Just been doing some testing, and it seems to me that ive got 4 websites pointing to one domains page.

    ie,
    my-main-domain.co.uk ---> my 3rd site (should be own site pages)
    my-second-site.co.uk ---> my 3rd site (should also be own site pages)
    my-3rd-site.co.uk -------> correct website
    clients-website.co.uk ----> my 3rd site (should definatly not be showing my site!)

    Arrow showing where the domain name resolves the files to.

    Im using ISPCONFIG 3 (hence asking on these forums) if that makes any difference

    what can i do to solve this? i can remove the client site as its my testing client (friend asked me to make a site so no prob making again)
    Also i can remove the other sites and create them again as they have nothing other than the default pages due to this error
     
  9. bch

    bch New Member

    Have you restarted Apache afterwards?

    Make sure you use either IP-addresses or wildcard (*) in Web Domain IPv4/6 settings for all the websites and don't mix them.

    Also test with Auto-Subdomain = None, and no wildcard redirects in the Redirect tab for all the websites.
     
  10. ginner159

    ginner159 New Member HowtoForge Supporter

    Hurray! Its fixed

    Thanks guys and gals!!

    Got it working now!

    Like you said for some reason the sites had lost the assigned ip setting and now it all works again!!


    Thank you thank you thank you!
     

Share This Page