SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    conf settings ServerName and ServerAlias

    I have hosting with amazon aws and domain with godaddy. I have updated the dns settings on the domain manager. Now when i type sunusa.org in my url, it doens't display the website which is my problem but works with www.sunusa.org. My conf file has these settings. What have i missed here? Do i need to write a mod re-write?

    Code:
     ServerName www.sunusa.org
     ServerAlias sunusa.org
     DocumentRoot "/home/admin/www/sun"
     AddHandler php5-script .php
     AddType text/html .php

  2. #2
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,069
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    Typing in the domain without www here works fine (redirects to the www-domain). Did you solve the problem?
    If not, clear your browsers cache, restart your browser, and try again
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #3
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ScallioXTX. It was the httpd reload that i missed this time. Now its working fine. I appreciate you checking for the problem. Thank you.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •