# How to have one page on a different domain

**URL:** https://discourse.roots.io/t/how-to-have-one-page-on-a-different-domain/12184
**Category:** trellis
**Tags:** nginx
**Created:** 2018-04-12T11:29:45Z
**Posts:** 1

## Post 1 by @jjjrome — 2018-04-12T11:29:45Z

One page on the organisation site I’m building is the homepage for an individual project which needs to keep its own domain. I want to map the project’s domain to just that page so that **[projectname.co.uk](http://projectname.co.uk)**, points to what is currently **[orgname.co.uk/projectname](http://orgname.co.uk/projectname)** (but not redirect).

I’ve done some searching around but can’t quite get what changes I’d make to the nginx config.

I guess I start with adding it to the site hosts:

```
site_hosts:
      - canonical: orgname.test
        redirects:
          - www.orgname.test
      - canonical: projectname.test
          - www.projectname.test
```

I guess the next step is to setup the redirect in the nginx conf file? I’ve not customised nginx before. Grateful for any help :slight_smile:
