You don't give enough information, so I guess that you have changed domain names and you are using Apache as a webserver.
Given that the website was live only for 2 weeks the change or domain name will have no significant (or at all) impact to search results. A general good advice when changing domain names would be to take the following steps:
- If you still own the old domain name, do not alter the DNS A entries just pointing to the new one. Create an htaccess 301 redirect (permanent).
- It is wise to choose how to use your new domain, as a "www" or a "naked" one (www.domain.com or domain.com) and create an htaccess 301 redirect from the rejected to the preferred one.
- Create an account at Google Webmasters and add, verify your new domain name, submit a sitemap and set it as the preferred one (www/naked).
- Create an account at Google Webmasters for your old domain name. Verify it and then go to "Change of Address" and choose the previously verified new domain name.
bing and Yandex maintain similar webmaster tools