# Website setup help

**URL:** <https://onehack.st/t/website-setup-help/82095>\
**Category:** Discussion & Solutions\
**Tags:** solved\
**Created:** [April 25, 2020, 8:02am UTC](https://onehack.st/t/website-setup-help/82095 "2020-04-25T08:02:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Techtanic](https://onehack.st/user_avatar/onehack.st/techtanic/32/92090_2.png) [@Techtanic](https://onehack.st/u/Techtanic)\
**Post date:** [April 25, 2020, 8:02am UTC](https://onehack.st/t/website-setup-help/82095/1 "2020-04-25T08:02:22Z")

</div>

I have a website www.techtanic.xyz  
its hosted using 000webhost free plan  
i want to know how to visit website without the www

---

<div class="post-metadata">

**Author:** ![kornbolt](https://onehack.st/user_avatar/onehack.st/kornbolt/32/8719_2.png) [@kornbolt](https://onehack.st/u/kornbolt)\
**Post date:** [April 25, 2020, 9:31am UTC](https://onehack.st/t/website-setup-help/82095/2 "2020-04-25T09:31:21Z")

</div>

I hope you mean redirecting to www.techtanic.xyz when you visit [https://techtanic.xyz](https://techtanic.xyz) ?  
If yes then add this to your .htaccess .

> [@](#):
>
> RewriteEngine On  
> RewriteCond %{HTTP\_HOST} ^[yourdomain.com](http://yourdomain.com) [NC]  
> RewriteRule ^(.\*)$ [http://www.yourdomain.com/$1](http://www.yourdomain.com/$1) [L,R=301]
