HTML - Unique Question About Domain Name Sensitive Redirect
Ok, I've never really heard of this before, but my boss wants me to set it up, against my better judgement.
basically, we're building a new site for a client, but he's got two domain names that he wants to use, and each one needs to go to a different home page. Is it possible to set up a redirect for a site that can understand which domain name has been entered and then send the customer to the appropriate page? or better yet, set up a home page like normal, but redirect only if the secondary domain name is entered. And how does this affect SEO? The other way I can think of to do this involves hard coding some links and one person jumping back and forth between domain names durring a single visit. Either that, or duplicate the whole site and drop it in a sub folder. Similar Tutorialshi viewers, i am design one website that is 6ginfotech. now i want one doubt that is in address bar i type 6ginfotech.com then also open my website. but all websites are typed without www then redirect to www.website name.com how to do that because i am design one seo company website. according to seo rules it is not accepted. so tell me the solution. bye k.n.v.santosh hey, I know this question is out of place but i was not sure where to post it I have a person who has a domain name on geocities but geocities does not support PHP.. But i use www.000webhost.com and i was wondering if there would be a way to keep his exact domain name and build the site on the webhost server.. thanks Hello, i just registered a domain name but have one issue Im using freehostia for my website uploading and got a .com addresss from go daddy. now ive changed the dns servers on the .com to reflect it to the freehostia where my site it. I noticed that the .com adress when i click on it shows the path of the index in the address bar like ex www.etcetc.com/site/welcome.html how can i not have that "site/welcome.html show up in the address bar? thanks This is probably a newb question but i want to point a domain directly to a folder on my server without forwarding. I guess using DNS. How do I do that? Currently I have www.utinternationals.org and it is forwarded to utinternationals.com but the issue is that the domain host puts a banner at the bottom and I want to point it to a folder on my server with a redirect to the website to lose the banner. Any Ideas? Hi I have two or three html pages that I now want to permanently redirect to my new index.php page. What do I need to put in the .htaccess file to do this? The pages a http://www.gilbert.net.au/gilbert_1000.html http://www.gilbert.net.au/gilbert_1280.html http://www.gilbert.net.au/index2.html I want them all to go to http://www.gilbert.net.au/index.php They were all old flash versions of the site I had set up for different resolutions, but now I just have one html site for all resolutions. Thanks for your time and help Shaun I'd like visitors to my web site to automatically be taken to the home page when they enter my domian name. For example, when they type in thedomainame.com the will automatically see thedomainame.com/homepage. Is this done by using htaccess? Can you someone explain this to me? How it works and how to set it up? Or how do I change the home page name to be the index page? Right now it's domainname.com/folder/index thanks. Hi, I have many pictures withthe extension ".JPG" on the web site. In my code Code: <td><a href='../Photos/2011/DSC_0001.jpg' target='_new' title='Click to enlarge'> <img src='../Photos/2011/DSC_0001.jpg' width=100 height=75 border=0></a> <br>Photo1</td> They never show up, but if I replace "jpg" with "JPG", then everything is fine. Why? Thanks. I apoligise for what may seem a basic question but I have built a very large website in HTML 4.0, which runs fine in both IE7 and Firefox 3. Out of habit, I put the first letter of each name - folder, file, and image, in upper case. I have been told, however, that I shouldn't have done that as it could cause problems with some browsers. As there really is a very large number of folders, files, and images that I would have to change, and because the website works fine with IE7 and Firefox, I thought I'd ask what forum members know (or think). I've looked in my book on HTML and searched the Internet but have not managed to find the answer anywhere. TIA Tyger I need to know how to put www on a domain but not on a subdomain. If I have the redirect on to have the www, the sub doesn't work. If I take it off, I subdomain works but no cool www, lol. Also be noted, a noob most likely knows more than me, lol. Say I have 3 .htm files that make up a Website, and they all ask for a persons name via text input. Would all 3 input boxes have to have different ids if I want to change their size via CSS? Say they all had the id="firstName" Could I go to my CSS file and use #firstName {length: 10} or would I have to use a class? The fact that they are in separate files makes me wonder if I have to use a class. Hi, I have been asked to rename the CSS for our website navigation to a unique name. I am told that we should not use generic names in your CSS. What did this mean? Pl help possibly with an example. Can you use SSI to include a page from a subdomain. Example: The main page is at http://www.sub.domain.com the included page is to be http://www.domain.com/headers/header1.html Well i want to buy a domain but i dont know where to buy it.. i need a good one but cheap, can someone post some links... thank U for the help Hi everyone, I just had my web pages removed from Yahoo! Geocities recently, and I'm looking to find a new reliable web hosting service. I know I can find a list provided on any search engine, but the one I've chosen to sign up for (fateback.com) has been nothing but difficulty so far. For some crazy reason, everytime I try to upload a page to their server, I keep getting an error message stating that I don't have permission to upload to the directory. I've tried multiple times to contact their customer service, but I haven't gotten any responses. Additionally, I tried to send test emails to addresses which they said I could use for my domain, but those emails keep getting sent back. So, obviously this fateback.com service isn't very good at all. Also, I need to utilize one of those free web hosting services until I can get the site off the ground as I really don't have the money to put out for my site yet. Can anyone help me to find a good web hosting service for my site? I would really appreciate anyone's insight here... Also, thanks to eddy9, who helped me find some resources to brush up on my HTML knowledge. That first site you gave me was chock-full of some good information, and has helped me to do some really cool things with my pages. Anyway, thanks again everyone in advance for the insight...it would really be nice to give my web site a new home soon. On my website (www.mysite.com), when a user clicks on the register link, a new window opens that takes him to another domain (www.myreg.com) where he can register. When he's finished registering, the myreg.com window is closed. The requirement is that when he's finished registering, I need the myreg.com page to set a cookie somehow for www.mysite.com . Is this possible? Cheers, James Hey guys, I'm sure this had been asked a thousand times, and I know I can search Google and find answers. Which I have found some, but I seem to get a more straight forward answer when the people answering my question know my exact situation. So anyways: I have my bands website: www.aqueousband.com And let's say that I acquire www.aqueous.com. I have a hosting plan with godaddy for www.aqueousband.com and all of my files are on that hosting plan and I want to keep that domain name. So it would make the most sense to just make www.aqueous.com redirect to www.aqueousband.com ... right? So how would I do this? I was reading about 301 redirect, am I on the right track? I started to think, if I just bought a domain name I would just have the domain name and no hosting. So how do I put an index file on a domain name that has no hosting attached to it? There's gotta be a way! Hi! This isn't really a technical issue so much as just a plea for a little advice on how to handle this. There may be some technical solutions to help me out, but I don't know of any. I am currently working on a website for clients who happen to be very very particular about EVERYTHING. I have run into a bit of an issue and am confused as to how to solve this. Maybe you all could help me out? Lend some advice, tell me what you'd do if you were me, etc... I am going to start from the beginning. The people I'm designing for are architects that design 5 million dollar homes. They wanted a clean design with a gradient background and it took us a long time to get to the background we came to. The problem with the background is that although I designed for 1024x768 (it also displays well at resolutions up to 1440x900), my clients are working on computers with large monitors with a much higher resolution. As a result, the browser window gets stretched so far that the gradient background image isn't large enough to cover and begins to tile itself. Here is an example of one of the pages, the photo gallery, on the website. http://aciwebsites.com/dev/vanBrouck/photo.html I am in the process of trying to fix some things so I wouldn't suggest clicking around too much. Now, notice that I use PNG in my design. I had to find a way around that, as my clients wanted an HTML website (not a Flash website) with semi-opaque graphic elements and IE doesn't support PNG files. The code I use works on single images but will not work on tiled background images (I needed to use a tiled semi-opaque PNG on the sub nav and body content section backgrounds so the gradient background could show through slightly)...So I had to find a way around that as well. I ended up slicing up the background gradient image at the appropriate places in photoshop and changing the lightness on it so that when placed as the background image in the div layer, it would appear to be just a semi-opaque box with the gradient showing through. But really, it's just a jpg. (I know this is really confusing. I'm trying my best to just write it all out and explain it the best I can.) So. What my clients are seeing on their high-resolution screens is a lot of empty space filled with this tiled gradient background. This is what I need to do: Remedy the background gradient situation so that the background is no longer tiled. Why I can't decide how to do this: 1 - Stretching the background to fit the screen using a background div layer (code on how to do that he http://www.htmlcodetutorial.com/help/ftopic4503.html) will interfere with the background images in the "subnav" and "body content" boxes which were cut at specific points in Photoshop and placed within the backgrounds of the div layers as a sort of faux-opaque div layer. Basically, it'll just mess everything up and won't look right anymore. 2 - I really can't mess much with this background image. My clients are very happy with it as it is. I considered possibly messing with it a little so that it fades to one solid color at both edges and I think this may be my best bet. However, doing this would take a very very long time, as I'd have to go in and change the backgrounds on all of the pages as well as go into Photoshop and redo all the faux opaque backgrounds. 3 - I could also use javascript to automatically resize the browser window upon page load, but I often find that to be annoying and I can see how it won't go over very well with these people. Another problem is that because they're looking at this website at such a high resolution, the page content is smaller than they'd like it to be. But they don't seem to understand that their resolution is in the minority and I don't quite know how to explain to them that I optimized the website to fit on MOST screens. They just don't seem very confident about this and I feel like I'm misleading them or doing something wrong. What do you all think? I know this was a bit long-winded, but if you're up for a challenge or just feel like throwing some ideas around, feel free to take a look at the website page and go through my code. Thanks for your time. Hi, sorry for posting a simple question like this, I have searched and found no answers. I registered a domain with GoDaddy.com and since it is just personal, I have not paid for hosting and have chosen masked forwarding instead. My problem: I link to a few external websites but if you click on one of these links, the domain is still masked and while you navigate to the other address, my domain name is still in the address bar. Is there any way for people visiting my website to be able to click on a link and navigate completely away, i.e. have the new websites address appear in the address bar? Thanks Hey Just a quick question i'm new to creating websites and html, i've written the code for the website I was wondering how you add all the pages to your domain. ex. you have yourdomain.com how would you add yourdomain.com/page1 yourdomain.com/page2 and have it go to those pages? Thanks Josh As the title states, Is there any way to find out who a domain is registered too? Or even find out information on it etc? |