I want website with no www

Discussion in 'General' started by smokinjo, Feb 21, 2020.

  1. smokinjo

    smokinjo Member

    Hello,

    How can I set up a website where it display as:

    mydomain.com

    I do not want the auto addition of the "www"

    The way it is now, it automatically displays:
    www.mydomain.com

    I was told to to look for a way to not redirect to www.

    I saw a redirect tap in my domain setting, but not sure if these apply.

    Thanks

    Joseph
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Enter mydomain.com into the domain field of the site, set auto subdomain to none and press save. That's all.
     
    smokinjo likes this.
  3. smokinjo

    smokinjo Member

    Thanks!
     
  4. Th0m

    Th0m Active Member HowtoForge Supporter

    If you use a CMS like wordpress, it is possible that it redirects to www., so you would have to change that in your CMS settings.
     
  5. smokinjo

    smokinjo Member

    I ended up reinstalling my software since I need to remove the www from my domain.

    I:
    erased the domain, database and the ftp related to my domain.

    I recreated each of them.

    This time, as per the new information, I turned the autodomain to none.

    This time, when I look up the domain name, it fails to find it, and falls upon my defualt web page.
    When I switch auto domain to www, then the domain comes back again.

    What might I be doing wrong to make it go to the default page?

    Could thi sbe a DNS entry issue? I need to tell the DNS that do not have the www?

    Thanks

    Joseph
     
  6. Th0m

    Th0m Active Member HowtoForge Supporter

    Are you using a CMS like WordPress, and if yes, what is the URL set in that CMS?
     
  7. smokinjo

    smokinjo Member

    I did see your previous comment and I forgot to comment saying that no, I am not usign wordpress.
    I am trying to install a copy of Friendica.
    It was one of the developers who suggested to remove the www from the domain name for what I was trying to do. I have seen other sites using this software with no www as well.
    So, it seems not to be the same issue as he wordpress thing.
    Thanks
    Joseph
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Ask the developers of that Friendica software if it has any settings for the domain or URL and if yes, where you can find them and there change it to non-www. Besides that, ensure that you have set up DNS properly so that the domain without www points to the IP of your server with a DNS A-Record.
     
  9. Th0m

    Th0m Active Member HowtoForge Supporter

    From their documentation:
    "Friendica should be installed in a domain of its own or in a subdomain. A domain would be something like yourself.com, whereas a subdomain might be friendica.yourself.com. What won’t work very well is a subdirectory install, e.g.: yourself.com/friendica.

    Make a decision now, because you are going to have to stick with it."
    And:
    "Visit your website with a web browser by simply going to the URL you planned for your site."
    Source: https://friendi.ca/resources/installation/
    If you used www.example.com as url to install Friendica it will be installed to www.example.com. If you use example.com it will be installed to example.com
     

Share This Page