Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Redirect v Transfer files

Featured Replies

Hi Folks

 

Okay I have site1.co.uk which along with normal html pages also has a members PHP area with associated MySQL database holding members details, I also have a php forum on the site, using tables within the same database.

 

Client now wants the domain name changed (due to sponsorship) and everything to sit under that ie site2.co.uk I know I could set up domain forwarding etc but they do not want any ref of site1.co.uk to be visible, hope you're still with me!

 

The amount of work setting up site2.co.uk with new hosting etc and publishing everything under there isn't too bad for the html side of the site as its just a copy job. My worry obviously is the existing database how on earth could I move that to a new domain?

 

What I am hoping for is that there is a way of retaining site1.co.uk hosting etc but maybe overwrite the URL to make it look like it's using site2.co.uk as the address?

 

Any thoughts or advice would be appreciated folks!

Ask your host to do this for you, or find the (e.g.) "domain alias" option if you're using a control panel. It's a trivial operation to map another domain name alias to your existing account. For example, in Apache it's a matter of simply adding:

 

ServerAlias site2.co.uk
ServerAlias www.site2.co.uk

to the configuration file for your domain! Once you've pointed the DNS A records for site2.co.uk to the same IP as site1.co.uk, you should get exactly what you need.

 

But beware of the search engine duplication issue if you're doing this with any SEO in mind.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.