ok so i have a domain name that im trying to point to a subdomain on my godaddy hosted domain. So domain1.com should point to sub.domain2.com . I cant get it to work without giving me a 403 error from godaddy because they dont recognize the incoming domain name (domain1.com) Thanks.
You need two things in order to make it work, but I guess you completed only one.
First you have to set up the DNS of domain1.com to point to sub.domain2.com. I guess this you already made.
Second is that the webserver should know that the domain1.com is showing somewhere on the server. So try to write to GoDaddy, they should set up this, it's not in your hands.
403 stands for "forbidden" therefore, yes, I think that you need to write to GoDaddy.
Thing is, nowadays, domains are virtual, rather than ip-based. As a result, GoDaddy's web server will know where to route a given request based on the domain being requested. At this point it does not even know that this domain has anything to do with you.
This is no problem at all, technically. But the problem is that Usually under some hosting account your are only allowed 1 domain under 1 account.
Considering that the account doesn't have any restriction of the kind. You just need set the nameserver of domain2 to the nameserver of domain1.com. The set the home directory to the same directory that was set for domain2.com